summaryrefslogtreecommitdiff
path: root/test/rexml/parser
diff options
context:
space:
mode:
authorkou <kou@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2013-09-03 14:02:10 +0000
committerkou <kou@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2013-09-03 14:02:10 +0000
commit1d8efe61d8936187c77ece1e8fd644cfcdfbcff3 (patch)
tree8b979b1888a735865a5f813cfdf3cd252a8bc579 /test/rexml/parser
parent73c57761a91e9a9240aea829453cc545ed033fee (diff)
* test/rexml/parser/test_tree.rb
(TestTreeParser::TestInvalid#test_unmatched_close_tag): Compute expected value from test value. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42816 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test/rexml/parser')
-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 6754e6b..c1a1dbb 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