diff --git a/test/yarp/ruby_api_test.rb b/test/yarp/ruby_api_test.rb index 79a5e2ab0a..236407ccac 100644 --- a/test/yarp/ruby_api_test.rb +++ b/test/yarp/ruby_api_test.rb @@ -39,42 +39,18 @@ class YARPRubyAPITest < Test::Unit::TestCase assert_equal 0, joined.start_offset assert_equal 10, joined.length -<<<<<<< HEAD -<<<<<<< HEAD - e = assert_rais RuntimeError do -======= - assert_raises RuntimeError, "Incompatible locations" do ->>>>>>> 687213d2e38 (use a more idiomatic form of `assert_raises`) -======= assert_raise RuntimeError, "Incompatible locations" do ->>>>>>> b85e01d77d2 (Use assert_raise) arg.location.join(recv.location) end other_recv, other_args_node, _ = parse_expression("1234 + 567").child_nodes other_arg = other_args_node.arguments[0] -<<<<<<< HEAD -<<<<<<< HEAD - e = assert_rais RuntimeError do -======= - assert_raises RuntimeError, "Incompatible sources" do ->>>>>>> 687213d2e38 (use a more idiomatic form of `assert_raises`) - other_arg.location.join(recv.location) - end - -<<<<<<< HEAD - e = assert_rais RuntimeError do -======= - assert_raises RuntimeError, "Incompatible sources" do ->>>>>>> 687213d2e38 (use a more idiomatic form of `assert_raises`) -======= assert_raise RuntimeError, "Incompatible sources" do other_arg.location.join(recv.location) end assert_raise RuntimeError, "Incompatible sources" do ->>>>>>> b85e01d77d2 (Use assert_raise) recv.location.join(other_arg.location) end end