diff options
author | Hiroshi SHIBATA <hsbt@ruby-lang.org> | 2019-06-02 14:11:24 +0300 |
---|---|---|
committer | Hiroshi SHIBATA <hsbt@ruby-lang.org> | 2019-06-19 18:17:53 +0900 |
commit | 4cca8c4d2021c90e351d0ee9000d448a9ed85e83 (patch) | |
tree | 5ec10c3a5788a6f1cac20e288d3adb807cfb5322 /lib | |
parent | 2272d6ae24d4a059d57bd1b0c01587a934258084 (diff) | |
download | ruby-4cca8c4d2021c90e351d0ee9000d448a9ed85e83.tar.gz |
Use Test::Unit instead of Minitest and fixed test error with ruby repo.
Co-authored-by: Nobuyoshi Nakada <nobu@ruby-lang.org>
Diffstat (limited to 'lib')
-rw-r--r-- | lib/racc/grammarfileparser.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/racc/grammarfileparser.rb b/lib/racc/grammarfileparser.rb index 7548a9ea37..37b8c37091 100644 --- a/lib/racc/grammarfileparser.rb +++ b/lib/racc/grammarfileparser.rb @@ -295,7 +295,7 @@ module Racc class GrammarFileScanner def initialize(str, filename = '-') - @lines = str.split(/\n|\r\n|\r/) + @lines = str.b.split(/\n|\r\n|\r/) @filename = filename @lineno = -1 @line_head = true |