Skip to content

Commit e10ab5c

Browse files
committed
really fix tests
1 parent 59ffa29 commit e10ab5c

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

config.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
#rdebug_ide: /path/to/rubygems/gemrepo/bin/rdebug-ide
77

88
# verbose output from test
9-
debug: false
9+
debug: true
1010

1111
# verbose output from the backend
1212
verbose_server: true
@@ -15,7 +15,7 @@ verbose_server: true
1515
server_start_up_timeout: 5
1616

1717
# either should be on the $PATH or use full path
18-
interpreter: ruby
18+
interpreter: C:\ruby-1.8.7-mingw\bin\ruby
1919

2020
# whether the interpreter is JRuby (XXX poll the interpreter for this info)
2121
is_jruby: false

test-base/inspect_test.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ def test_inspect_error_1
4444
send_ruby("v inspect a*2")
4545
variables = read_variables
4646
assert_equal(1, variables.length, "There is one exception returned.")
47-
assert_equal("undefined local variable or method \`a\' for main:Object", variables[0].value, "Result is NameError")
47+
assert_equal("exception", variables[0].kind, "Result is exception")
4848
send_cont
4949
end
5050

@@ -54,7 +54,7 @@ def test_inspect_error_2
5454
send_ruby('v inspect 1 {1 => "one", 2 => "two" {')
5555
variables = read_variables
5656
assert_equal(1, variables.length, "There is one exception returned.")
57-
assert_equal("undefined local variable or method \`a\' for main:Object", variables[0].value, "Result is NameError")
57+
assert_equal("exception", variables[0].kind, "Result is exception")
5858
send_cont
5959
end
6060

0 commit comments

Comments
 (0)