Browse files

Fix line number tests due to changes at top of file.

  • Loading branch information...
1 parent 5bab36c commit d8cd228f67cd21c34bffefba601361577d28da7f Charlie Savage committed Sep 5, 2011
Showing with 5 additions and 5 deletions.
  1. +5 −5 test/line_number_test.rb
View
10 test/line_number_test.rb
@@ -33,15 +33,15 @@ def test_function_line_no
method = methods[0]
assert_equal('LineNumbersTest#test_function_line_no', method.full_name)
- assert_equal(27, method.line)
+ assert_equal(28, method.line)
method = methods[1]
assert_equal('LineNumbers#method2', method.full_name)
- assert_equal(11, method.line)
+ assert_equal(12, method.line)
method = methods[2]
assert_equal('LineNumbers#method1', method.full_name)
- assert_equal(7, method.line)
+ assert_equal(8, method.line)
end
def test_c_function
@@ -65,10 +65,10 @@ def test_c_function
method = methods[1]
assert_equal('LineNumbers#method3', method.full_name)
- assert_equal(16, method.line)
+ assert_equal(17, method.line)
method = methods[2]
assert_equal('LineNumbersTest#test_c_function', method.full_name)
- assert_equal(50, method.line)
+ assert_equal(51, method.line)
end
end

0 comments on commit d8cd228

Please sign in to comment.