Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 5 additions & 3 deletions core/string/shared/to_sym.rb
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,11 @@
"abc=".send(@method).should == :abc=
end

it "special cases +(binary) and -(binary)" do
"+(binary)".to_sym.should == :+
"-(binary)".to_sym.should == :-
ruby_version_is ""..."1.9" do
it "special cases +(binary) and -(binary)" do
"+(binary)".to_sym.should == :+
"-(binary)".to_sym.should == :-
end
end

ruby_version_is ""..."1.9" do
Expand Down