summaryrefslogtreecommitdiff
path: root/spec/rubyspec/core/kernel/match_spec.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/rubyspec/core/kernel/match_spec.rb')
-rw-r--r--spec/rubyspec/core/kernel/match_spec.rb14
1 files changed, 0 insertions, 14 deletions
diff --git a/spec/rubyspec/core/kernel/match_spec.rb b/spec/rubyspec/core/kernel/match_spec.rb
deleted file mode 100644
index 8a117ed497..0000000000
--- a/spec/rubyspec/core/kernel/match_spec.rb
+++ /dev/null
@@ -1,14 +0,0 @@
-require File.expand_path('../../../spec_helper', __FILE__)
-
-describe "Kernel#=~" do
- it "returns nil matching any object" do
- o = Object.new
-
- (o =~ /Object/).should be_nil
- (o =~ 'Object').should be_nil
- (o =~ Object).should be_nil
- (o =~ Object.new).should be_nil
- (o =~ nil).should be_nil
- (o =~ true).should be_nil
- end
-end