diff options
author | Akshay <[email protected]> | 2021-12-04 07:34:04 +0000 |
---|---|---|
committer | Akshay <[email protected]> | 2021-12-04 07:34:20 +0000 |
commit | 19e2aa4a388078527a7cb13a43984a8b0d873907 (patch) | |
tree | aaf9da0cba815655304deb6549791d358de9a50c /bin/tests | |
parent | 21775f28cd1bdde8eddd84a508813b01d620db89 (diff) |
remove tests for unquoted_splices
Diffstat (limited to 'bin/tests')
-rw-r--r-- | bin/tests/data/unquoted_splices.nix | 15 | ||||
-rw-r--r-- | bin/tests/main.rs | 2 |
2 files changed, 1 insertions, 16 deletions
diff --git a/bin/tests/data/unquoted_splices.nix b/bin/tests/data/unquoted_splices.nix deleted file mode 100644 index 30935b0..0000000 --- a/bin/tests/data/unquoted_splices.nix +++ /dev/null | |||
@@ -1,15 +0,0 @@ | |||
1 | let | ||
2 | x = 2; | ||
3 | y = 3; | ||
4 | a = { "2" = y; }; | ||
5 | in | ||
6 | [ | ||
7 | ${x} | ||
8 | ${toString (x + y)} | ||
9 | a.${toString x} | ||
10 | |||
11 | # multiline test | ||
12 | ${ | ||
13 | toString x | ||
14 | } | ||
15 | ] | ||
diff --git a/bin/tests/main.rs b/bin/tests/main.rs index 6175c90..de5266f 100644 --- a/bin/tests/main.rs +++ b/bin/tests/main.rs | |||
@@ -39,9 +39,9 @@ test_lint! { | |||
39 | collapsible_let_in, | 39 | collapsible_let_in, |
40 | eta_reduction, | 40 | eta_reduction, |
41 | useless_parens, | 41 | useless_parens, |
42 | unquoted_splices, | ||
43 | empty_pattern, | 42 | empty_pattern, |
44 | redundant_pattern_bind, | 43 | redundant_pattern_bind, |
45 | unquoted_uri, | 44 | unquoted_uri, |
46 | deprecated_is_null, | 45 | deprecated_is_null, |
46 | empty_inherit, | ||
47 | } | 47 | } |