Skip to content

Commit 89a1fc0

Browse files
Josh Bodahkelvinst
Josh Bodah
authored andcommitted
remove pending guard syntax tests
1 parent bff6630 commit 89a1fc0

File tree

1 file changed

+0
-31
lines changed

1 file changed

+0
-31
lines changed

spec/syntax/guard_spec.rb

Lines changed: 0 additions & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -15,34 +15,3 @@
1515
EOF
1616
end
1717
end
18-
19-
describe 'Guard syntax' do
20-
pending 'guard in function' do
21-
expect(<<~EOF).to include_elixir_syntax('elixirKeyword', 'is_atom')
22-
def fun(a) when is_atom(a), do:
23-
EOF
24-
end
25-
26-
pending 'guard in if' do
27-
expect(<<~EOF).to include_elixir_syntax('elixirKeyword', 'is_atom')
28-
if is_atom(:atom), do: true
29-
EOF
30-
end
31-
32-
pending 'guard in case' do
33-
expect(<<~EOF).to include_elixir_syntax('elixirKeyword', 'is_atom')
34-
case true do
35-
true when is_atom(:atom) -> true
36-
end
37-
EOF
38-
end
39-
40-
pending 'guard in case (multiline)' do
41-
expect(<<~EOF).to include_elixir_syntax('elixirKeyword', 'is_atom')
42-
case true do
43-
true when is_boolean(true) and
44-
is_atom(:atom) -> true
45-
end
46-
EOF
47-
end
48-
end

0 commit comments

Comments
 (0)