mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* test/rexml/test_notationdecl_parsetest.rb: Fix typos in expected
value. pubilc -> public ^^ git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42287 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
7f6c69b142
commit
0c1139ea78
2 changed files with 10 additions and 2 deletions
|
@ -1,3 +1,11 @@
|
||||||
|
Wed Jul 31 22:52:55 2013 Kouhei Sutou <kou@cozmixng.org>
|
||||||
|
|
||||||
|
* test/rexml/test_notationdecl_parsetest.rb: Fix typos in expected
|
||||||
|
value.
|
||||||
|
pubilc ->
|
||||||
|
public
|
||||||
|
^^
|
||||||
|
|
||||||
Wed Jul 31 22:50:51 2013 Kouhei Sutou <kou@cozmixng.org>
|
Wed Jul 31 22:50:51 2013 Kouhei Sutou <kou@cozmixng.org>
|
||||||
|
|
||||||
* test/rexml/test_notationdecl_parsetest.rb: Add tests that focus
|
* test/rexml/test_notationdecl_parsetest.rb: Add tests that focus
|
||||||
|
|
|
@ -46,14 +46,14 @@ class TestNotationDecl < Test::Unit::TestCase
|
||||||
doctype = parse(<<-INTERNAL_SUBSET)
|
doctype = parse(<<-INTERNAL_SUBSET)
|
||||||
<!NOTATION name PUBLIC 'public-id-literal' "system-literal">
|
<!NOTATION name PUBLIC 'public-id-literal' "system-literal">
|
||||||
INTERNAL_SUBSET
|
INTERNAL_SUBSET
|
||||||
assert_equal("pubilc-id-literal", doctype.notation("name").public)
|
assert_equal("public-id-literal", doctype.notation("name").public)
|
||||||
end
|
end
|
||||||
|
|
||||||
def test_double_quote
|
def test_double_quote
|
||||||
doctype = parse(<<-INTERNAL_SUBSET)
|
doctype = parse(<<-INTERNAL_SUBSET)
|
||||||
<!NOTATION name PUBLIC "public-id-literal" "system-literal">
|
<!NOTATION name PUBLIC "public-id-literal" "system-literal">
|
||||||
INTERNAL_SUBSET
|
INTERNAL_SUBSET
|
||||||
assert_equal("pubilc-id-literal", doctype.notation("name").public)
|
assert_equal("public-id-literal", doctype.notation("name").public)
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue