Skip to content

Commit 77c2fe4

Browse files
committed
Tag failing String PE examples
* These tests never really worked as they relied on argument value profiling of the non-inlined `Integer#==`.
1 parent c9094d0 commit 77c2fe4

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

test/truffle/compiler/pe/core/string_pe.rb

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@
4848

4949
example "'A' == String.from_codepoint(65, Encoding::US_ASCII)", true
5050
example "'A' == 65.chr", true
51-
example "'A'.ord == 65", true
51+
tagged example "'A'.ord == 65", true
5252

5353
example "'aba'[0] == 'aca'[-1]", true
5454

@@ -66,8 +66,8 @@
6666

6767
example "x = 'abc'; y = 'xyz'; x.replace(y) == y", true
6868

69-
example "'abc'.getbyte(0) == 97", true
70-
example "'abc'.getbyte(-1) == 99", true
69+
tagged example "'abc'.getbyte(0) == 97", true
70+
tagged example "'abc'.getbyte(-1) == 99", true
7171
example "'abc'.getbyte(10_000) == nil", true
7272

7373
example "14.to_s.length", 2

0 commit comments

Comments
 (0)