aboutsummaryrefslogtreecommitdiffstats
path: root/spec/rubyspec/core/regexp/encoding_spec.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/rubyspec/core/regexp/encoding_spec.rb')
-rw-r--r--spec/rubyspec/core/regexp/encoding_spec.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/rubyspec/core/regexp/encoding_spec.rb b/spec/rubyspec/core/regexp/encoding_spec.rb
index 6ce1ada337..c30519c9d7 100644
--- a/spec/rubyspec/core/regexp/encoding_spec.rb
+++ b/spec/rubyspec/core/regexp/encoding_spec.rb
@@ -15,7 +15,7 @@ describe "Regexp#encoding" do
end
it "returns ASCII-8BIT if the 'n' modifier is supplied and non-US-ASCII characters are present" do
- /#{}\xc2\xa1/n.encoding.should == Encoding::ASCII_8BIT
+ /\xc2\xa1/n.encoding.should == Encoding::ASCII_8BIT
end
it "defaults to UTF-8 if \\u escapes appear" do