summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rw-r--r--test/prism/errors/command_calls_35.txt41
-rw-r--r--test/prism/fixtures/command_method_call.txt6
2 files changed, 0 insertions, 47 deletions
diff --git a/test/prism/errors/command_calls_35.txt b/test/prism/errors/command_calls_35.txt
deleted file mode 100644
index 9eb011cd86..0000000000
--- a/test/prism/errors/command_calls_35.txt
+++ /dev/null
@@ -1,41 +0,0 @@
-p(p a, x: b => value)
- ^~ unexpected '=>'; expected a `)` to close the arguments
- ^ unexpected ')', expecting end-of-input
- ^ unexpected ')', ignoring it
-
-p(p a, x: => value)
- ^~ unexpected '=>'; expected a `)` to close the arguments
- ^ unexpected ')', expecting end-of-input
- ^ unexpected ')', ignoring it
-
-p(p a, &block => value)
- ^~ unexpected '=>'; expected a `)` to close the arguments
- ^ unexpected ')', expecting end-of-input
- ^ unexpected ')', ignoring it
-
-p(p a, *args => value)
- ^~ unexpected '=>'; expected a `)` to close the arguments
- ^ unexpected ')', expecting end-of-input
- ^ unexpected ')', ignoring it
-
-p(p a, **kwargs => value)
- ^~ unexpected '=>'; expected a `)` to close the arguments
- ^ unexpected ')', expecting end-of-input
- ^ unexpected ')', ignoring it
-
-p p 1, &block => 2, &block
- ^~ unexpected '=>', expecting end-of-input
- ^~ unexpected '=>', ignoring it
- ^ unexpected ',', expecting end-of-input
- ^ unexpected ',', ignoring it
- ^ unexpected '&', ignoring it
-
-p p p 1 => 2 => 3 => 4
- ^~ unexpected '=>', expecting end-of-input
- ^~ unexpected '=>', ignoring it
-
-p[p a, x: b => value]
- ^ expected a matching `]`
- ^ unexpected ']', expecting end-of-input
- ^ unexpected ']', ignoring it
-
diff --git a/test/prism/fixtures/command_method_call.txt b/test/prism/fixtures/command_method_call.txt
index 3f510efa69..182b87948b 100644
--- a/test/prism/fixtures/command_method_call.txt
+++ b/test/prism/fixtures/command_method_call.txt
@@ -39,9 +39,3 @@ def foo = bar 1
!foo 1 or !bar 2
not !foo 1
-
-foo(bar baz, key => value)
-
-foo(bar baz, KEY => value)
-
-foo(bar baz, :key => value)