1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

Use Test::Unit instead of Minitest and fixed test error with ruby repo.

Co-authored-by: Nobuyoshi Nakada <nobu@ruby-lang.org>
This commit is contained in:
Hiroshi SHIBATA 2019-06-02 14:11:24 +03:00
parent 2272d6ae24
commit 4cca8c4d20
3 changed files with 10 additions and 18 deletions

View file

@ -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