diff options
| author | Benoit Daloze <eregontp@gmail.com> | 2023-07-29 17:27:26 +0200 |
|---|---|---|
| committer | Takashi Kokubun <takashikkbn@gmail.com> | 2023-08-16 17:47:32 -0700 |
| commit | ab2f638a275ae8aaf55a4937dcb3f898cf7ddad0 (patch) | |
| tree | 8649ab2f6e284036bbe23b03b167a35bf62ce1b0 | |
| parent | 7cc5b22bbc2768cb9280fcd879cc934b0f44deeb (diff) | |
[ruby/yarp] Test YARP.parse_file by using it in tests
https://github.com/ruby/yarp/commit/c603bba89a
Notes
Notes:
Merged: https://github.com/ruby/ruby/pull/8226
| -rw-r--r-- | test/newline_test.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/newline_test.rb b/test/newline_test.rb index 09d0c09e5b..29c3b7f017 100644 --- a/test/newline_test.rb +++ b/test/newline_test.rb @@ -25,7 +25,7 @@ class NewlineTest < Test::Unit::TestCase source = File.read(filepath, binmode: true, external_encoding: Encoding::UTF_8) expected = rubyvm_lines(source) - result = YARP.parse(source, relative) + result = YARP.parse_file(filepath) assert_empty result.errors result.mark_newlines |
