File tree 2 files changed +0
-32
lines changed
lib/sevgi/graphics/mixtures
2 files changed +0
-32
lines changed Original file line number Diff line number Diff line change @@ -12,12 +12,6 @@ def Comment(comment)
12
12
_ Content . verbatim ( "<!-- #{ comment } -->" )
13
13
end
14
14
15
- def Mark ( begining : "BEGIN" , ending : "END" )
16
- Comment ( begining )
17
- yield
18
- Comment ( ending )
19
- end
20
-
21
15
def Ancestral
22
16
{ } . tap do |result |
23
17
Root . Traverse { |element | result . merge! ( element [ :_ ] ) if element . has? ( :_ ) }
Original file line number Diff line number Diff line change @@ -53,32 +53,6 @@ def test_underscore_comment
53
53
54
54
assert_equal ( expected , actual )
55
55
end
56
-
57
- def test_underscore_mark
58
- expected = <<~SVG . chomp
59
- <svg>
60
- <!-- BEGIN -->
61
- <text>
62
- You are
63
- <tspan>not</tspan>
64
- a banana
65
- </text>
66
- <!-- END -->
67
- </svg>
68
- SVG
69
-
70
- actual = SVG DOC do
71
- Mark do
72
- text do
73
- _ "You are"
74
- tspan "not"
75
- _ "a banana"
76
- end
77
- end
78
- end . Render
79
-
80
- assert_equal ( expected , actual )
81
- end
82
56
end
83
57
end
84
58
end
You can’t perform that action at this time.
0 commit comments