diff options
| author | Kevin Newton <kddnewton@gmail.com> | 2024-02-14 14:17:32 -0500 |
|---|---|---|
| committer | Kevin Newton <kddnewton@gmail.com> | 2024-02-14 15:29:26 -0500 |
| commit | 9933377c343e45a2294fff7199255bfc00c8ef1a (patch) | |
| tree | fc1a26240122571d4a8f5136eac20cc9197a68ca /test | |
| parent | 1d3b306753baf05642836cc6f17015c9309c1420 (diff) | |
[PRISM] Correctly hook up line numbers for eval
Diffstat (limited to 'test')
| -rw-r--r-- | test/.excludes-prism/TestClass.rb | 1 | ||||
| -rw-r--r-- | test/.excludes-prism/TestERB.rb | 6 | ||||
| -rw-r--r-- | test/.excludes-prism/TestERBCore.rb | 6 | ||||
| -rw-r--r-- | test/.excludes-prism/TestERBCoreWOStrScan.rb | 5 | ||||
| -rw-r--r-- | test/.excludes-prism/TestEval.rb | 1 | ||||
| -rw-r--r-- | test/.excludes-prism/TestModule.rb | 1 | ||||
| -rw-r--r-- | test/.excludes-prism/TestParse.rb | 1 |
7 files changed, 0 insertions, 21 deletions
diff --git a/test/.excludes-prism/TestClass.rb b/test/.excludes-prism/TestClass.rb deleted file mode 100644 index 0eb5c90615..0000000000 --- a/test/.excludes-prism/TestClass.rb +++ /dev/null @@ -1 +0,0 @@ -exclude(:test_redefinition_mismatch, "incorrect line number") diff --git a/test/.excludes-prism/TestERB.rb b/test/.excludes-prism/TestERB.rb deleted file mode 100644 index bd0e221a93..0000000000 --- a/test/.excludes-prism/TestERB.rb +++ /dev/null @@ -1,6 +0,0 @@ -exclude(:test_with_filename_and_safe_level, "incorrect line number") -exclude(:test_with_filename_lineno, "incorrect line number") -exclude(:test_with_filename, "incorrect line number") -exclude(:test_with_location, "incorrect line number") -exclude(:test_without_filename_with_safe_level, "incorrect line number") -exclude(:test_without_filename, "incorrect line number") diff --git a/test/.excludes-prism/TestERBCore.rb b/test/.excludes-prism/TestERBCore.rb deleted file mode 100644 index b9a65b8dca..0000000000 --- a/test/.excludes-prism/TestERBCore.rb +++ /dev/null @@ -1,6 +0,0 @@ -exclude(:test_def_method_with_fname, "incorrect line number") -exclude(:test_def_method_without_filename, "incorrect line number") -exclude(:test_eval_input_with_exception, "incorrect line number") -exclude(:test_keep_lineno, "incorrect line number") -exclude(:test_multi_line_comment_lineno, "incorrect line number") -exclude(:test_multi_line_comment_lineno, "incorrect line number") diff --git a/test/.excludes-prism/TestERBCoreWOStrScan.rb b/test/.excludes-prism/TestERBCoreWOStrScan.rb deleted file mode 100644 index d90cd5de3a..0000000000 --- a/test/.excludes-prism/TestERBCoreWOStrScan.rb +++ /dev/null @@ -1,5 +0,0 @@ -exclude(:test_def_method_with_fname, "unknown") -exclude(:test_def_method_without_filename, "unknown") -exclude(:test_keep_lineno, "unknown") -exclude(:test_multi_line_comment_lineno, "unknown") -exclude(:test_require_nonascii_path_shift_jis, "unknown") diff --git a/test/.excludes-prism/TestEval.rb b/test/.excludes-prism/TestEval.rb index a547b89c87..83f3e38fc9 100644 --- a/test/.excludes-prism/TestEval.rb +++ b/test/.excludes-prism/TestEval.rb @@ -1,3 +1,2 @@ exclude(:test_eval_ascii_incompatible, "incorrect encoding") -exclude(:test_eval_location_binding, "incorrect line number") exclude(:test_file_encoding, "incorrect encoding") diff --git a/test/.excludes-prism/TestModule.rb b/test/.excludes-prism/TestModule.rb deleted file mode 100644 index 934e18f31a..0000000000 --- a/test/.excludes-prism/TestModule.rb +++ /dev/null @@ -1 +0,0 @@ -exclude(:test_redefinition_mismatch, "unknown") diff --git a/test/.excludes-prism/TestParse.rb b/test/.excludes-prism/TestParse.rb index 5db342dfb8..b937b55bb4 100644 --- a/test/.excludes-prism/TestParse.rb +++ b/test/.excludes-prism/TestParse.rb @@ -2,7 +2,6 @@ exclude(:test_assign_in_conditional, "missing warning") exclude(:test_here_document, "incorrect heredoc") exclude(:test_literal_in_conditional, "missing warning") exclude(:test_magic_comment, "incorrect encoding") -exclude(:test_negative_line_number, "incorrect line number") exclude(:test_nonascii_const_set, "incorrect encoding") exclude(:test_nonascii_constant, "incorrect encoding") exclude(:test_question, "missing warning") |
