quickdraw/compilation_equivalence_cases/whitespace.rb
Lines
0%0 of 13 covered
Branches
—0 of 0 covered
Methods
0%0 of 1 covered
- Not run
- 3-15
- Never called
| 1 | # frozen_string_literal: true | |
| 2 | ||
| 3 | 0 | module EquivalenceCases |
| 4 | 0 | module Whitespace |
| 5 | 0 | class Whitespace < Phlex::HTML |
| 6 | 0 | def view_template |
| 7 | 0 | h1 { "Hello" } |
| 8 | 0 | whitespace |
| 9 | 0 | h2 { "world" } |
| 10 | 0 | br |
| 11 | 0 | br |
| 12 | 0 | p do |
| 13 | 0 | plain "This sentence has" |
| 14 | 0 | whitespace { em { "emphasis" } } |
| 15 | 0 | plain "in it." |
| 16 | end | |
| 17 | end | |
| 18 | end | |
| 19 | end | |
| 20 | end |