quickdraw/compilation_equivalence_cases/same_line_unrelated.rb
Lines
0%0 of 6 covered
Branches
—0 of 0 covered
Methods
0%0 of 3 covered
- Not run
- 3-479-11
- Never called
| 1 | # frozen_string_literal: true | |
| 2 | ||
| 3 | 0 | module EquivalenceCases |
| 4 | 0 | module SameLineUnrelated |
| 5 | # Two definitions share a line here, but neither is a component's live | |
| 6 | # method, so they don't stop the component below from compiling. | |
| 7 | 0 | class Helpers; def label = "label"; def other = "other"; end |
| 8 | ||
| 9 | 0 | class SameLineUnrelated < Phlex::HTML |
| 10 | 0 | def view_template |
| 11 | 0 | div { Helpers.new.label } |
| 12 | end | |
| 13 | end | |
| 14 | end | |
| 15 | end |