Skip to content

Commit

Permalink
fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
ben-dyer committed Jun 21, 2021
1 parent 3e4ab24 commit 275542d
Showing 1 changed file with 39 additions and 37 deletions.
76 changes: 39 additions & 37 deletions tests/languages/elixir/keyword_feature.test
Original file line number Diff line number Diff line change
@@ -1,37 +1,39 @@
after alias and case
catch cond def
defcallback
defexception
defimpl defmodule
defp
defprotocol
defdelegate
defmacro quote unquote
defn defnp
defstruct do else
end fn for if
import not or
raise require rescue try
unless use when

----------------------------------------------------

[
["keyword", "after"], ["keyword", "alias"], ["keyword", "and"], ["keyword", "case"],
["keyword", "catch"], ["keyword", "cond"], ["keyword", "def"],
["keyword", "defcallback"],
["keyword", "defexception"],
["keyword", "defimpl"], ["keyword", "defmodule"],
["keyword", "defp"],
["keyword", "defprotocol"],
["keyword", "defdelegate"],
["keyword", "defstruct"], ["keyword", "do"], ["keyword", "else"],
["keyword", "end"], ["keyword", "fn"], ["keyword", "for"], ["keyword", "if"],
["keyword", "import"], ["keyword", "not"], ["keyword", "or"],
["keyword", "raise"], ["keyword", "require"], ["keyword", "rescue"], ["keyword", "try"],
["keyword", "unless"], ["keyword", "use"], ["keyword", "when"]
]

----------------------------------------------------

Checks for all keywords.
after alias and case
catch cond def
defcallback
defexception
defimpl defmodule
defp
defprotocol
defdelegate
defmacro quote unquote
defn defnp
defstruct do else
end fn for if
import not or
raise require rescue try
unless use when

----------------------------------------------------

[
["keyword", "after"], ["keyword", "alias"], ["keyword", "and"], ["keyword", "case"],
["keyword", "catch"], ["keyword", "cond"], ["keyword", "def"],
["keyword", "defcallback"],
["keyword", "defexception"],
["keyword", "defimpl"], ["keyword", "defmodule"],
["keyword", "defp"],
["keyword", "defprotocol"],
["keyword", "defdelegate"],
["keyword", "defmacro"], ["keyword", "quote"], ["keyword", "unquote"],
["keyword", "defn"], ["keyword", "defnp"],
["keyword", "defstruct"], ["keyword", "do"], ["keyword", "else"],
["keyword", "end"], ["keyword", "fn"], ["keyword", "for"], ["keyword", "if"],
["keyword", "import"], ["keyword", "not"], ["keyword", "or"],
["keyword", "raise"], ["keyword", "require"], ["keyword", "rescue"], ["keyword", "try"],
["keyword", "unless"], ["keyword", "use"], ["keyword", "when"]
]

----------------------------------------------------

Checks for all keywords.

0 comments on commit 275542d

Please sign in to comment.