ruby/test/prism/errors/non_assoc_equality.txt

26 lines
1003 B
Plaintext

1 == 2 == 3
^~ unexpected '=='; '==' is a non-associative operator
^~ unexpected '==', expecting end-of-input
^~ unexpected '==', ignoring it
1 != 2 != 3
^~ unexpected '!='; '!=' is a non-associative operator
^~ unexpected '!=', expecting end-of-input
^~ unexpected '!=', ignoring it
1 === 2 === 3
^~~ unexpected '==='; '===' is a non-associative operator
^~~ unexpected '===', expecting end-of-input
^~~ unexpected '===', ignoring it
1 =~ 2 =~ 3
^~ unexpected '=~'; '=~' is a non-associative operator
^~ unexpected '=~', expecting end-of-input
^~ unexpected '=~', ignoring it
1 !~ 2 !~ 3
^~ unexpected '!~'; '!~' is a non-associative operator
^~ unexpected '!~', expecting end-of-input
^~ unexpected '!~', ignoring it
1 <=> 2 <=> 3
^~~ unexpected '<=>'; '<=>' is a non-associative operator
^~~ unexpected '<=>', expecting end-of-input
^~~ unexpected '<=>', ignoring it