You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
assert_erb_to_slim'<% if 1 == 1 %>SOME<% yay %><% end %>',"- if 1 == 1\n | SOME\n - yay"
101
+
assert_erb_to_slim_with_and_without_leading_dash'<% if 1 == 1 %>SOME<% yay %><% end %>',"- if 1 == 1\n | SOME\n - yay"
102
102
# else
103
-
assert_erb_to_slim'<% if 1 == 1 %>SOME<% yay %><% else %>OTHER<% end %>',"- if 1 == 1\n | SOME\n - yay\n- else\n | OTHER"
103
+
assert_erb_to_slim_with_and_without_leading_dash'<% if 1 == 1 %>SOME<% yay %><% else %>OTHER<% end %>',"- if 1 == 1\n | SOME\n - yay\n- else\n | OTHER"
104
104
# elsif
105
-
assert_erb_to_slim'<% if 1 == 1 %>SOME<% yay %><% elsif 2 == 2 %>OTHER<% end %>',"- if 1 == 1\n | SOME\n - yay\n- elsif 2 == 2\n | OTHER"
105
+
assert_erb_to_slim_with_and_without_leading_dash'<% if 1 == 1 %>SOME<% yay %><% elsif 2 == 2 %>OTHER<% end %>',"- if 1 == 1\n | SOME\n - yay\n- elsif 2 == 2\n | OTHER"
106
106
# case/when
107
-
assert_erb_to_slim'<% case @foo %><% when 1 %>1<% when 2 %>2<% else %>3<% end %>',"- case @foo\n- when 1\n | 1\n- when 2\n | 2\n- else\n | 3"
107
+
assert_erb_to_slim_with_and_without_leading_dash'<% case @foo %><% when 1 %>1<% when 2 %>2<% else %>3<% end %>',"- case @foo\n- when 1\n | 1\n- when 2\n | 2\n- else\n | 3"
108
108
# while
109
-
assert_erb_to_slim'<% while @foo.next %>NEXT<% end %>',"- while @foo.next\n | NEXT"
109
+
assert_erb_to_slim_with_and_without_leading_dash'<% while @foo.next %>NEXT<% end %>',"- while @foo.next\n | NEXT"
110
110
# all togheter and mixed
111
-
assert_erb_to_slim'<% while @foo.next %><% if 1 == 1 %><% for i in @foo.bar %>WORKS<% end %><% end %><% end %>',"- while @foo.next\n - if 1 == 1\n - for i in @foo.bar\n | WORKS"
111
+
assert_erb_to_slim_with_and_without_leading_dash'<% while @foo.next %><% if 1 == 1 %><% for i in @foo.bar %>WORKS<% end %><% end %><% end %>',"- while @foo.next\n - if 1 == 1\n - for i in @foo.bar\n | WORKS"
112
112
# unless
113
113
assert_erb_to_slim_with_and_without_leading_dash'<% unless @foo.done? %>NEXT<% end %>',
0 commit comments