[前][次][番号順一覧][スレッド一覧]

ruby-changes:30737

From: kou <ko1@a...>
Date: Tue, 3 Sep 2013 23:02:17 +0900 (JST)
Subject: [ruby-changes:30737] kou:r42816 (trunk): * test/rexml/parser/test_tree.rb

kou	2013-09-03 23:02:10 +0900 (Tue, 03 Sep 2013)

  New Revision: 42816

  http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=42816

  Log:
    * test/rexml/parser/test_tree.rb
      (TestTreeParser::TestInvalid#test_unmatched_close_tag):
      Compute expected value from test value.

  Modified files:
    trunk/ChangeLog
    trunk/test/rexml/parser/test_tree.rb
Index: ChangeLog
===================================================================
--- ChangeLog	(revision 42815)
+++ ChangeLog	(revision 42816)
@@ -1,3 +1,9 @@ https://github.com/ruby/ruby/blob/trunk/ChangeLog#L1
+Tue Sep  3 23:01:41 2013  Kouhei Sutou  <kou@c...>
+
+	* test/rexml/parser/test_tree.rb
+	  (TestTreeParser::TestInvalid#test_unmatched_close_tag):
+	  Compute expected value from test value.
+
 Tue Sep  3 22:59:58 2013  Kouhei Sutou  <kou@c...>
 
 	* lib/rexml/parsers/treeparser.rb (REXML::Parsers::TreeParser#parse):
Index: test/rexml/parser/test_tree.rb
===================================================================
--- test/rexml/parser/test_tree.rb	(revision 42815)
+++ test/rexml/parser/test_tree.rb	(revision 42816)
@@ -12,7 +12,7 @@ class TestTreeParser < Test::Unit::TestC https://github.com/ruby/ruby/blob/trunk/test/rexml/parser/test_tree.rb#L12
       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

--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]