Skip to content

Commit 950e388

Browse files
committed
Fix test_class_tokenize_character_literal
1 parent 4a690f0 commit 950e388

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/test_rdoc_ruby_lex.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -63,10 +63,10 @@ def test_class_tokenize___END__
6363
end
6464

6565
def test_class_tokenize_character_literal
66-
tokens = RDoc::RubyLex.tokenize "?\\", nil
66+
tokens = RDoc::RubyLex.tokenize "?c", nil
6767

6868
expected = [
69-
@TK::TkCHAR.new( 0, 1, 0, "?\\"),
69+
@TK::TkCHAR.new( 0, 1, 0, "?c"),
7070
@TK::TkNL .new( 2, 1, 2, "\n"),
7171
]
7272

0 commit comments

Comments
 (0)