Skip to content

Commit

Permalink
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions test/truffle/compiler/pe/core/string_pe.rb
Original file line number Diff line number Diff line change
@@ -8,9 +8,9 @@

simple_string = 'test'

example "Truffle.create_simple_string.length", simple_string.length
example "Truffle.create_simple_string.getbyte(0)", simple_string.getbyte(0)
example "Truffle.create_simple_string.ord", simple_string.ord
example "Truffle::Ropes.create_simple_string.length", simple_string.length
example "Truffle::Ropes.create_simple_string.getbyte(0)", simple_string.getbyte(0)
example "Truffle::Ropes.create_simple_string.ord", simple_string.ord

example "'abc'.length", 3
example "'こにちわ'.length", 4

0 comments on commit c093201

Please sign in to comment.