We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
#scan_byte
#peek_byte
1 parent fcaf4c1 commit 844d963Copy full SHA for 844d963
test/strscan/test_stringscanner.rb
@@ -9,6 +9,7 @@
9
10
module StringScannerTests
11
def test_peek_byte
12
+ omit("not implemented on TruffleRuby") if RUBY_ENGINE == "truffleruby"
13
s = create_string_scanner('ab')
14
assert_equal 97, s.peek_byte
15
assert_equal 97, s.scan_byte
@@ -19,6 +20,7 @@ def test_peek_byte
19
20
end
21
22
def test_scan_byte
23
24
25
26
assert_equal 98, s.scan_byte
0 commit comments