summaryrefslogtreecommitdiff
path: root/test/prism/fixtures/hashes.txt
diff options
context:
space:
mode:
Diffstat (limited to 'test/prism/fixtures/hashes.txt')
-rw-r--r--test/prism/fixtures/hashes.txt28
1 files changed, 28 insertions, 0 deletions
diff --git a/test/prism/fixtures/hashes.txt b/test/prism/fixtures/hashes.txt
new file mode 100644
index 0000000000..0afb8db496
--- /dev/null
+++ b/test/prism/fixtures/hashes.txt
@@ -0,0 +1,28 @@
+{}
+
+{
+}
+
+{ a => b, c => d }
+
+{ a => b, **c }
+
+{
+ a: b,
+ c: d
+
+
+
+ }
+
+{ a: b, c: d, **e, f: g }
+
+{ "a": !b? }
+
+a = 1
+tap do
+ b = 1
+ { a:, b:, c:, D: }
+end
+
+{ a: -1 }