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

Removed a duplicate assertion

This commit is contained in:
Nobuyoshi Nakada 2020-11-26 20:03:38 +09:00
parent 6be9d18a4d
commit 1df3896382
No known key found for this signature in database
GPG key ID: 7CD2805BFA3770C6

View file

@ -148,7 +148,6 @@ class TestRipper::Lexer < Test::Unit::TestCase
def test_raise_errors_keyword
assert_raise(SyntaxError) { Ripper.tokenize('def req(true) end', raise_errors: true) }
assert_raise(SyntaxError) { Ripper.tokenize('def req(true) end', raise_errors: true) }
end
def test_tokenize_with_syntax_error