summaryrefslogtreecommitdiff
path: root/test/prism/constant_path_node_test.rb
diff options
context:
space:
mode:
authorKevin Newton <kddnewton@gmail.com>2023-10-26 14:56:21 -0400
committerKevin Newton <kddnewton@gmail.com>2023-10-26 14:59:13 -0400
commit018f0a9c5fda185f91edf3da797b9e1b1df14706 (patch)
tree591c41b2e28cd638307247af7d13405b68275eb1 /test/prism/constant_path_node_test.rb
parent922f48f08158332c8cf94ad37f9e307f80200bf9 (diff)
[ruby/prism] Rename to lefts/rights
https://github.com/ruby/prism/commit/e6deed05a5
Diffstat (limited to 'test/prism/constant_path_node_test.rb')
-rw-r--r--test/prism/constant_path_node_test.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/prism/constant_path_node_test.rb b/test/prism/constant_path_node_test.rb
index 4d202b8bdc..5bb9830687 100644
--- a/test/prism/constant_path_node_test.rb
+++ b/test/prism/constant_path_node_test.rb
@@ -23,7 +23,7 @@ module Prism
RUBY
node = Prism.parse(source).value.statements.body.first
- assert_equal("Foo::Bar::Baz::Qux", node.requireds.first.full_name)
+ assert_equal("Foo::Bar::Baz::Qux", node.lefts.first.full_name)
end
end
end