diff options
Diffstat (limited to 'test/rdoc/test_rdoc_parser_c.rb')
-rw-r--r-- | test/rdoc/test_rdoc_parser_c.rb | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/test/rdoc/test_rdoc_parser_c.rb b/test/rdoc/test_rdoc_parser_c.rb index d0732597dc..5341da16e2 100644 --- a/test/rdoc/test_rdoc_parser_c.rb +++ b/test/rdoc/test_rdoc_parser_c.rb @@ -1037,7 +1037,7 @@ Init_Foo(void) { other_function.comment.text assert_equal '()', other_function.params - code = other_function.token_stream.first.text + code = other_function.token_stream.first[:text] assert_equal "VALUE\nother_function() {\n}", code end @@ -1107,7 +1107,7 @@ Init_Foo(void) { other_function.comment.text assert_equal '()', other_function.params - code = other_function.token_stream.first.text + code = other_function.token_stream.first[:text] assert_equal "VALUE\nother_function() {\n}", code end @@ -1141,7 +1141,7 @@ Init_Foo(void) { assert_equal '()', other_function.params assert_equal 8, other_function.line - code = other_function.token_stream.first.text + code = other_function.token_stream.first[:text] assert_equal "VALUE\nrb_other_function() {\n}", code end @@ -1174,7 +1174,7 @@ Init_Foo(void) { assert_equal '()', other_function.params assert_equal 4, other_function.line - code = other_function.token_stream.first.text + code = other_function.token_stream.first[:text] assert_equal "#define other_function rb_other_function", code end @@ -1314,7 +1314,7 @@ Init_Foo(void) { other_function.comment.text assert_equal '()', other_function.params - code = other_function.token_stream.first.text + code = other_function.token_stream.first[:text] assert_equal "DLL_LOCAL VALUE\nother_function() {\n}", code end |