aboutsummaryrefslogtreecommitdiffstats
path: root/tests/indent/nu/closure.nu
diff options
context:
space:
mode:
Diffstat (limited to 'tests/indent/nu/closure.nu')
-rw-r--r--tests/indent/nu/closure.nu6
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/indent/nu/closure.nu b/tests/indent/nu/closure.nu
new file mode 100644
index 000000000..ef6301e4a
--- /dev/null
+++ b/tests/indent/nu/closure.nu
@@ -0,0 +1,6 @@
+do { |x, y|
+ print ($x + $y);
+ print ($x - $y);
+ print ($x * $y);
+ print ($x / $y);
+}