From 6edc0c93c734c03ed78c879e0bf464f138f43e2e Mon Sep 17 00:00:00 2001 From: Eike Send Date: Wed, 25 Feb 2026 12:48:03 +0100 Subject: [PATCH] Ruby / Prism >= 4.1.0 allows trailing comma in method definition See "Allow trailing comma in method signature": https://github.com/ruby/prism/pull/3920 This test is no longer passing because of the change in Prism. --- test/irb/test_color.rb | 1 - 1 file changed, 1 deletion(-) diff --git a/test/irb/test_color.rb b/test/irb/test_color.rb index 6d4b15ef1..770420922 100644 --- a/test/irb/test_color.rb +++ b/test/irb/test_color.rb @@ -184,7 +184,6 @@ def test_colorize_code_complete_false "a, b#" => "a, b#{BLUE}#{BOLD}\##{CLEAR}", "a, b;" => "#{RED}#{REVERSE}a, b#{CLEAR};", "def f(a,#" => "#{GREEN}def#{CLEAR} #{BLUE}#{BOLD}f#{CLEAR}(a,#{BLUE}#{BOLD}\##{CLEAR}", - "def f(a,)" => "#{GREEN}def#{CLEAR} #{BLUE}#{BOLD}f#{CLEAR}(a#{RED}#{REVERSE},#{CLEAR})", "[*" => "[*", "f(*" => "f(*", "f(**" => "f(**",