Skip to content

Commit 6cadeb5

Browse files
committed
try fix tests
1 parent 8f4ec5f commit 6cadeb5

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

test-base/inspect_test.rb

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,15 +42,19 @@ def test_inspect_error_1
4242
create_socket ["puts 'test'", "puts 'test'"]
4343
run_to_line(2)
4444
send_ruby("v inspect a*2")
45-
read_processing_exception
45+
variables = read_variables
46+
assert_equal(1, variables.length, "There is one exception returned.")
47+
assert_equal("10", variables[0].value, "Result is 10")
4648
send_cont
4749
end
4850

4951
def test_inspect_error_2
5052
create_socket ["sleep 0.1"]
5153
run_to_line(1)
5254
send_ruby('v inspect 1 {1 => "one", 2 => "two" {')
53-
read_processing_exception
55+
variables = read_variables
56+
assert_equal(1, variables.length, "There is one exception returned.")
57+
assert_equal("10", variables[0].value, "Result is 10")
5458
send_cont
5559
end
5660

0 commit comments

Comments
 (0)