Skip to content

Commit 0796d49

Browse files
committed
[Truffle] Unexclude passing test_regexp tests
1 parent b80c27a commit 0796d49

File tree

2 files changed

+1
-6
lines changed

2 files changed

+1
-6
lines changed

test/mri/excludes_truffle/TestRegexp.rb

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
exclude :"test_KCODE", "needs investigation"
22
exclude :"test_assign_named_capture_to_reserved_word", "needs investigation"
33
exclude :"test_char_class", "needs investigation"
4-
exclude :"test_char_type", "needs investigation"
54
exclude :"test_dup", "needs investigation"
65
exclude :"test_dup_warn", "needs investigation"
76
exclude :"test_eq_tilde_can_be_overridden", "needs investigation"
@@ -12,7 +11,6 @@
1211
exclude :"test_inspect", "needs investigation"
1312
exclude :"test_invalid_escape_error", "needs investigation"
1413
exclude :"test_invalid_fragment", "needs investigation"
15-
exclude :"test_match", "needs investigation"
1614
exclude :"test_match_init_copy", "needs investigation"
1715
exclude :"test_match_offset_begin_end", "needs investigation"
1816
exclude :"test_matchdata", "needs investigation"
@@ -26,15 +24,12 @@
2624
exclude :"test_property_warn", "needs investigation"
2725
exclude :"test_regsub", "needs investigation"
2826
exclude :"test_regsub_K", "needs investigation"
29-
exclude :"test_ruby_dev_999", "needs investigation"
3027
exclude :"test_source", "needs investigation"
3128
exclude :"test_source_escaped", "needs investigation"
3229
exclude :"test_source_unescaped", "needs investigation"
3330
exclude :"test_taint", "needs investigation"
3431
exclude :"test_to_s", "needs investigation"
3532
exclude :"test_raw_hyphen_and_tk_char_type_after_range", "needs investigation"
3633
exclude :"test_unescape", "needs investigation"
37-
exclude :"test_unicode", "needs investigation"
3834
exclude :"test_uninitialized", "needs investigation"
3935
exclude :"test_union", "needs investigation"
40-
exclude :"test_word_boundary", "needs investigation"

truffle/src/main/java/org/jruby/truffle/nodes/rubinius/StringPrimitiveNodes.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -632,7 +632,7 @@ public Object stringIndex(VirtualFrame frame, RubyString string, RubyString patt
632632

633633
}
634634

635-
@RubiniusPrimitive(name = "string_character_byte_index", needsSelf = false)
635+
@RubiniusPrimitive(name = "string_character_byte_index", needsSelf = false, lowerFixnumParameters = {2, 3})
636636
@ImportStatic(StringGuards.class)
637637
public static abstract class CharacterByteIndexNode extends RubiniusPrimitiveNode {
638638

0 commit comments

Comments
 (0)