aboutsummaryrefslogtreecommitdiffstats
path: root/test/prism/errors_test.rb
diff options
context:
space:
mode:
authorKevin Newton <kddnewton@gmail.com>2023-11-20 21:38:03 -0500
committergit <svn-admin@ruby-lang.org>2023-11-21 02:38:07 +0000
commit9fa524dd41be60654e8515f9e406f6f47f0ac7fa (patch)
tree5cf2d3b62ba1f0ad68f98d85e3d76077164a6fb3 /test/prism/errors_test.rb
parent73d519ec461bee7c06e37abcb808443a05ec5a21 (diff)
downloadruby-9fa524dd41be60654e8515f9e406f6f47f0ac7fa.tar.gz
[ruby/prism] Split up CaseNode and CaseMatchNode
(https://github.com/ruby/prism/pull/1801) https://github.com/ruby/prism/commit/4c1391ea56
Diffstat (limited to 'test/prism/errors_test.rb')
-rw-r--r--test/prism/errors_test.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/prism/errors_test.rb b/test/prism/errors_test.rb
index 070b36dec2..c6ef417e55 100644
--- a/test/prism/errors_test.rb
+++ b/test/prism/errors_test.rb
@@ -937,7 +937,7 @@ module Prism
end
def test_case_without_when_clauses_errors_on_else_clause
- expected = CaseNode(
+ expected = CaseMatchNode(
SymbolNode(Location(), Location(), nil, "a"),
[],
ElseNode(Location(), nil, Location()),