Skip to content

Commit 8dfe02c

Browse files
committed
Remove unnecessary sub_test_case
1 parent 883ae2b commit 8dfe02c

File tree

1 file changed

+8
-10
lines changed

1 file changed

+8
-10
lines changed

test/dyna_symbol_key_test.rb

Lines changed: 8 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -17,16 +17,14 @@ def test_parser(*args)
1717
_test_parser(*args)
1818
end
1919

20-
sub_test_case 'branch' do
21-
t do
22-
assert_equal <<END.chomp, assertion_message {
23-
{"a": 1.to_s}.nil?
24-
| |
25-
| false
26-
"1"
20+
t do
21+
assert_equal <<END.chomp, assertion_message {
22+
{"a": 1.to_s}.nil?
23+
| |
24+
| false
25+
"1"
2726
END
28-
{"a": 1.to_s}.nil?
29-
}
30-
end
27+
{"a": 1.to_s}.nil?
28+
}
3129
end
3230
end

0 commit comments

Comments
 (0)