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:
parent
2272d6ae24
commit
4cca8c4d20
3 changed files with 10 additions and 18 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue