summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--test/prism/parse_test.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/test/prism/parse_test.rb b/test/prism/parse_test.rb
index 574a1c1714..55b8c0178e 100644
--- a/test/prism/parse_test.rb
+++ b/test/prism/parse_test.rb
@@ -207,6 +207,8 @@ module Prism
# https://bugs.ruby-lang.org/issues/19539
ripper_should_parse = false if relative == "heredocs_leading_whitespace.txt" && RUBY_VERSION < "3.3.0"
+ ripper_should_parse = false if relative == "unparser/corpus/literal/def.txt"
+
define_method "test_filepath_#{relative}" do
# First, read the source from the filepath. Use binmode to avoid converting CRLF on Windows,
# and explicitly set the external encoding to UTF-8 to override the binmode default.