emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[nongnu] elpa/nix-mode 79507ee193 327/500: Add more test cases to smie-l


From: ELPA Syncer
Subject: [nongnu] elpa/nix-mode 79507ee193 327/500: Add more test cases to smie-lambdas.nix
Date: Sat, 29 Jan 2022 08:27:18 -0500 (EST)

branch: elpa/nix-mode
commit 79507ee193d1296535ed905a0da5439d2c06aa43
Author: Jakub Piecuch <j.piecuch96@gmail.com>
Commit: Jakub Piecuch <j.piecuch96@gmail.com>

    Add more test cases to smie-lambdas.nix
---
 tests/testcases/smie-lambdas.nix | 23 +++++++++++++++++++----
 1 file changed, 19 insertions(+), 4 deletions(-)

diff --git a/tests/testcases/smie-lambdas.nix b/tests/testcases/smie-lambdas.nix
index d33596d6ca..387bddd157 100644
--- a/tests/testcases/smie-lambdas.nix
+++ b/tests/testcases/smie-lambdas.nix
@@ -2,7 +2,9 @@
 { foo, bar } @ baz:
 foo: bar:
 
-{
+{ test0 = x:
+    42;
+
   test1 =
     { f = x:
         42 };
@@ -17,10 +19,23 @@ foo: bar:
     { f = x: y: z:
         42 };
 
-  test2 = x: y: z:
+  test5 = x: y: z:
     42;
 
-  test3 = map (x: y: z:
+  test6 = map (x: y: z:
     42) [ 1 2 3 ];
-}
 
+  test7 = map
+    (x:
+      42);
+
+  test7 = map
+    (x: y: z:
+      42);
+
+  test8 =
+    x:
+    y:
+    z:
+    42;
+}



reply via email to

[Prev in Thread] Current Thread [Next in Thread]