Skip to content

Commit 9d9f0a8

Browse files
authored
Ruby / Prism >= 4.1.0 allows trailing comma in method definition (#1178)
See "Allow trailing comma in method signature": ruby/prism#3920 This test is no longer passing because of the change in Prism.
1 parent 957fd79 commit 9d9f0a8

1 file changed

Lines changed: 0 additions & 1 deletion

File tree

test/irb/test_color.rb

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -184,7 +184,6 @@ def test_colorize_code_complete_false
184184
"a, b#" => "a, b#{BLUE}#{BOLD}\##{CLEAR}",
185185
"a, b;" => "#{RED}#{REVERSE}a, b#{CLEAR};",
186186
"def f(a,#" => "#{GREEN}def#{CLEAR} #{BLUE}#{BOLD}f#{CLEAR}(a,#{BLUE}#{BOLD}\##{CLEAR}",
187-
"def f(a,)" => "#{GREEN}def#{CLEAR} #{BLUE}#{BOLD}f#{CLEAR}(a#{RED}#{REVERSE},#{CLEAR})",
188187
"[*" => "[*",
189188
"f(*" => "f(*",
190189
"f(**" => "f(**",

0 commit comments

Comments
 (0)