Skip to content

Commit 85afa5e

Browse files
Sgiathjbodah
authored andcommitted
Move test to one it
Signed-off-by: Sgiath <FilipVavera@sgiath.dev>
1 parent a7f4225 commit 85afa5e

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

spec/syntax/keyword_spec.rb

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,13 +15,11 @@
1515
EOF
1616
end
1717

18-
it 'raise used as keyword with string' do
18+
it 'raise used as keyword' do
1919
expect(<<~EOF).to include_elixir_syntax('elixirKeyword', 'raise')
2020
raise "oops"
2121
EOF
22-
end
2322

24-
it 'raise used as keyword with module' do
2523
expect(<<~EOF).to include_elixir_syntax('elixirKeyword', 'raise')
2624
raise ArgumentError, message: "invalid argument foo"
2725
EOF

0 commit comments

Comments
 (0)