Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Only set default internal encoding on 1.9

  • Loading branch information...
commit daf02996a672be382730ac2dc378838edf38603f 1 parent 0d71a88
@josh josh authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  spec/otnetstring_spec.rb
View
2  spec/otnetstring_spec.rb
@@ -26,7 +26,7 @@
describe OTNetstring do
context "parsing" do
before do
- Encoding.default_internal = 'utf-8'
+ Encoding.default_internal = 'utf-8' if defined? Encoding
end
it "parses an integer" do
Please sign in to comment.
Something went wrong with that request. Please try again.