summaryrefslogtreecommitdiff
path: root/test/psych/test_emitter.rb
diff options
context:
space:
mode:
authorCharles Oliver Nutter <headius@headius.com>2015-01-09 10:06:51 -0600
committerCharles Oliver Nutter <headius@headius.com>2015-01-09 10:06:51 -0600
commit3ddffabc91bee3ba136a9367f24083b6bf9fd7ef (patch)
treee73ce4213df554530b1088bc9d082b62f46f2862 /test/psych/test_emitter.rb
parentea50d0179c51d271c9fead299e9bf6dd06fe9689 (diff)
parent24055a152492123b7516e9b4e54af5710ffed247 (diff)
downloadpsych-3ddffabc91bee3ba136a9367f24083b6bf9fd7ef.tar.gz
Merge remote-tracking branch 'origin/master' into jruby
Conflicts: .gitignore
Diffstat (limited to 'test/psych/test_emitter.rb')
-rw-r--r--test/psych/test_emitter.rb5
1 files changed, 2 insertions, 3 deletions
diff --git a/test/psych/test_emitter.rb b/test/psych/test_emitter.rb
index dfd20e1..1c96c12 100644
--- a/test/psych/test_emitter.rb
+++ b/test/psych/test_emitter.rb
@@ -1,6 +1,6 @@
# -*- coding: utf-8 -*-
-require 'psych/helper'
+require_relative 'helper'
module Psych
class TestEmitter < TestCase
@@ -11,8 +11,7 @@ module Psych
end
def test_line_width
- assert_equal 0, @emitter.line_width
- assert_equal 10, @emitter.line_width = 10
+ @emitter.line_width = 10
assert_equal 10, @emitter.line_width
end