summaryrefslogtreecommitdiff
path: root/test/prism/fixtures/whitequark/endless_method_without_args.txt
diff options
context:
space:
mode:
Diffstat (limited to 'test/prism/fixtures/whitequark/endless_method_without_args.txt')
-rw-r--r--test/prism/fixtures/whitequark/endless_method_without_args.txt7
1 files changed, 7 insertions, 0 deletions
diff --git a/test/prism/fixtures/whitequark/endless_method_without_args.txt b/test/prism/fixtures/whitequark/endless_method_without_args.txt
new file mode 100644
index 0000000000..90ea8f7c6d
--- /dev/null
+++ b/test/prism/fixtures/whitequark/endless_method_without_args.txt
@@ -0,0 +1,7 @@
+def foo = 42
+
+def foo = 42 rescue nil
+
+def self.foo = 42
+
+def self.foo = 42 rescue nil