aboutsummaryrefslogtreecommitdiffstats
path: root/spec/ruby/optional/capi/encoding_spec.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/ruby/optional/capi/encoding_spec.rb')
-rw-r--r--spec/ruby/optional/capi/encoding_spec.rb5
1 files changed, 0 insertions, 5 deletions
diff --git a/spec/ruby/optional/capi/encoding_spec.rb b/spec/ruby/optional/capi/encoding_spec.rb
index 33587bf03a..7661f2b68b 100644
--- a/spec/ruby/optional/capi/encoding_spec.rb
+++ b/spec/ruby/optional/capi/encoding_spec.rb
@@ -147,11 +147,6 @@ describe "C-API Encoding function" do
it "returns -1 as the index for immediates" do
@s.send(@method, 1).should == -1
end
-
- it "returns -1 for an object without an encoding" do
- obj = Object.new
- @s.send(@method, obj).should == -1
- end
end
describe "rb_enc_set_index" do