diff options
Diffstat (limited to 'spec/rubyspec/core/matchdata/string_spec.rb')
| -rw-r--r-- | spec/rubyspec/core/matchdata/string_spec.rb | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/spec/rubyspec/core/matchdata/string_spec.rb b/spec/rubyspec/core/matchdata/string_spec.rb deleted file mode 100644 index 793684d36a..0000000000 --- a/spec/rubyspec/core/matchdata/string_spec.rb +++ /dev/null @@ -1,14 +0,0 @@ -require File.expand_path('../../../spec_helper', __FILE__) - -describe "MatchData#string" do - it "returns a copy of the match string" do - str = /(.)(.)(\d+)(\d)/.match("THX1138.").string - str.should == "THX1138." - end - - it "returns a frozen copy of the match string" do - str = /(.)(.)(\d+)(\d)/.match("THX1138.").string - str.should == "THX1138." - str.frozen?.should == true - end -end |
