summaryrefslogtreecommitdiff
path: root/test/sections_test.rb
diff options
context:
space:
mode:
authorDan Allen <dan.j.allen@gmail.com>2013-08-13 16:31:06 -0600
committerDan Allen <dan.j.allen@gmail.com>2013-08-13 16:31:06 -0600
commit892fb9ef345069554e676c173c404ee2edceffbf (patch)
treefe92473eccbac0e2ffd64284179455d0a92a8e4c /test/sections_test.rb
parent2d82b3f6d8d447f81e940d0fa627e5e516a75c11 (diff)
resolves #556 print warning/error messages using warn
Diffstat (limited to 'test/sections_test.rb')
-rw-r--r--test/sections_test.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/sections_test.rb b/test/sections_test.rb
index d076c02f..5c0a159d 100644
--- a/test/sections_test.rb
+++ b/test/sections_test.rb
@@ -426,7 +426,7 @@ text in standalone
output, errors = nil
redirect_streams do |stdout, stderr|
output = render_string input
- errors = stdout.string
+ errors = stderr.string
end
assert !errors.empty?