summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorNobuyoshi Nakada <nobu@ruby-lang.org>2020-11-26 20:03:38 +0900
committerNobuyoshi Nakada <nobu@ruby-lang.org>2020-11-26 20:03:38 +0900
commit1df3896382a8e2ed86e2edbb5ba80424da0ab5b9 (patch)
tree814f9927ec2f8d8a57dea14d943df2105469ad66 /test
parent6be9d18a4d13f96ebe08384f6b45e4202516a733 (diff)
downloadruby-1df3896382a8e2ed86e2edbb5ba80424da0ab5b9.tar.gz
Removed a duplicate assertion
Diffstat (limited to 'test')
-rw-r--r--test/ripper/test_lexer.rb1
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