aboutsummaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rw-r--r--test/rexml/parser/test_tree.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/rexml/parser/test_tree.rb b/test/rexml/parser/test_tree.rb
index 6754e6bb59..c1a1dbb580 100644
--- a/test/rexml/parser/test_tree.rb
+++ b/test/rexml/parser/test_tree.rb
@@ -12,7 +12,7 @@ class TestTreeParser < Test::Unit::TestCase
assert_equal(<<-MESSAGE, exception.to_s)
Missing end tag for 'root' (got "not-root")
Line: 1
-Position: 17
+Position: #{xml.bytesize}
Last 80 unconsumed characters:
MESSAGE
end