ruby-changes:63757
From: Nobuyoshi <ko1@a...>
Date: Thu, 26 Nov 2020 20:20:21 +0900 (JST)
Subject: [ruby-changes:63757] 1df3896382 (master): Removed a duplicate assertion
https://git.ruby-lang.org/ruby.git/commit/?id=1df3896382 From 1df3896382a8e2ed86e2edbb5ba80424da0ab5b9 Mon Sep 17 00:00:00 2001 From: Nobuyoshi Nakada <nobu@r...> Date: Thu, 26 Nov 2020 20:03:38 +0900 Subject: Removed a duplicate assertion diff --git a/test/ripper/test_lexer.rb b/test/ripper/test_lexer.rb index 3d546c2..73941d1 100644 --- a/test/ripper/test_lexer.rb +++ b/test/ripper/test_lexer.rb @@ -148,7 +148,6 @@ class TestRipper::Lexer < Test::Unit::TestCase https://github.com/ruby/ruby/blob/trunk/test/ripper/test_lexer.rb#L148 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 -- cgit v0.10.2 -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/