Fluent and/or is supported by Prism too now

This commit is contained in:
Nobuyoshi Nakada 2026-01-08 12:26:27 +09:00
parent 7688628684
commit 725e3d0aa7
No known key found for this signature in database
GPG Key ID: 3582D74E1FEE4465

View File

@ -1260,8 +1260,6 @@ eom
end
def test_fluent_and
omit if /\+PRISM\b/ =~ RUBY_DESCRIPTION
assert_valid_syntax("a\n" "&& foo")
assert_valid_syntax("a\n" "and foo")
@ -1285,8 +1283,6 @@ eom
end
def test_fluent_or
omit if /\+PRISM\b/ =~ RUBY_DESCRIPTION
assert_valid_syntax("a\n" "|| foo")
assert_valid_syntax("a\n" "or foo")