Skip to content

Commit 0556f97

Browse files
committed
Fix unused variable in YARPRubyAPITest
1 parent d24f625 commit 0556f97

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

test/yarp/ruby_api_test.rb

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,8 +43,7 @@ def test_location_join
4343
arg.location.join(recv.location)
4444
end
4545

46-
other_recv, other_args_node, _ = parse_expression("1234 + 567").child_nodes
47-
other_arg = other_args_node.arguments[0]
46+
other_arg = parse_expression("1234 + 567").arguments.arguments[0]
4847

4948
assert_raise RuntimeError, "Incompatible sources" do
5049
other_arg.location.join(recv.location)

0 commit comments

Comments
 (0)