diff options
author | Nobuyoshi Nakada <nobu@ruby-lang.org> | 2020-11-26 20:03:38 +0900 |
---|---|---|
committer | Nobuyoshi Nakada <nobu@ruby-lang.org> | 2020-11-26 20:03:38 +0900 |
commit | 1df3896382a8e2ed86e2edbb5ba80424da0ab5b9 (patch) | |
tree | 814f9927ec2f8d8a57dea14d943df2105469ad66 /test | |
parent | 6be9d18a4d13f96ebe08384f6b45e4202516a733 (diff) | |
download | ruby-1df3896382a8e2ed86e2edbb5ba80424da0ab5b9.tar.gz |
Removed a duplicate assertion
Diffstat (limited to 'test')
-rw-r--r-- | test/ripper/test_lexer.rb | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/test/ripper/test_lexer.rb b/test/ripper/test_lexer.rb index 3d546c2c94..73941d162a 100644 --- a/test/ripper/test_lexer.rb +++ b/test/ripper/test_lexer.rb @@ -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 |