Skip to content

Commit

Permalink
Enable the formerly crashing spec of Regexp#encoding again
Browse files Browse the repository at this point in the history
This has been fixed somewhere in the past (at least: that what it looks
like).
  • Loading branch information
herwinw committed Sep 21, 2024
1 parent b0ae5c2 commit 58670d9
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions spec/core/regexp/encoding_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,7 @@
end
end

# NATFIXME: Crashes with GC unreachable
xit "defaults to UTF-8 if \\u escapes appear" do
it "defaults to UTF-8 if \\u escapes appear" do
/\u{9879}/.encoding.should == Encoding::UTF_8
end

Expand Down

0 comments on commit 58670d9

Please sign in to comment.