remove hacks no longer necessary to work around JNI locals stack overflow, since we now delete local refs

This commit is contained in:
Laurent Sansonetti
2014-05-10 23:36:54 +08:00
parent e146102969
commit 82b116d125
2 changed files with 0 additions and 16 deletions

View File

@@ -450,10 +450,6 @@ it "doesn't match Unicode private-use characters with [[:xdigit:]]" do
"\u{E001}".match(/[[:xdigit:]]/).should be_nil
end
end
describe "Regexp with character classes" do
it "matches Unicode lowercase characters with [[:word:]]" do
"\u{FF41}".match(/[[:word:]]/).to_a.should == ["\u{FF41}"]
"\u{1D484}".match(/[[:word:]]/).to_a.should == ["\u{1D484}"]

View File

@@ -59,48 +59,36 @@ describe "Ruby character strings" do
end
it "allow using non-alnum characters as string delimiters" do
1.times do
%(hey #{@ip}).should == "hey xxx"
%[hey #{@ip}].should == "hey xxx"
%{hey #{@ip}}.should == "hey xxx"
%<hey #{@ip}>.should == "hey xxx"
%!hey #{@ip}!.should == "hey xxx"
end
1.times do
%@hey #{@ip}@.should == "hey xxx"
%#hey hey#.should == "hey hey"
%%hey #{@ip}%.should == "hey xxx"
%^hey #{@ip}^.should == "hey xxx"
%&hey #{@ip}&.should == "hey xxx"
end
1.times do
%*hey #{@ip}*.should == "hey xxx"
%-hey #{@ip}-.should == "hey xxx"
%_hey #{@ip}_.should == "hey xxx"
%=hey #{@ip}=.should == "hey xxx"
%+hey #{@ip}+.should == "hey xxx"
end
1.times do
%~hey #{@ip}~.should == "hey xxx"
%:hey #{@ip}:.should == "hey xxx"
%;hey #{@ip};.should == "hey xxx"
%"hey #{@ip}".should == "hey xxx"
%|hey #{@ip}|.should == "hey xxx"
end
1.times do
%?hey #{@ip}?.should == "hey xxx"
%/hey #{@ip}/.should == "hey xxx"
%,hey #{@ip},.should == "hey xxx"
%.hey #{@ip}..should == "hey xxx"
end
1.times do
# surprised? huh
%'hey #{@ip}'.should == "hey xxx"
%\hey #{@ip}\.should == "hey xxx"
%`hey #{@ip}`.should == "hey xxx"
%$hey #{@ip}$.should == "hey xxx"
end
end
it "using percent with 'q', stopping interpolation" do