зеркало из https://github.com/github/ruby.git
* 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:
Родитель
7f6c69b142
Коммит
0c1139ea78
|
@ -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>
|
||||
|
||||
* test/rexml/test_notationdecl_parsetest.rb: Add tests that focus
|
||||
|
|
|
@ -46,14 +46,14 @@ class TestNotationDecl < Test::Unit::TestCase
|
|||
doctype = parse(<<-INTERNAL_SUBSET)
|
||||
<!NOTATION name PUBLIC 'public-id-literal' "system-literal">
|
||||
INTERNAL_SUBSET
|
||||
assert_equal("pubilc-id-literal", doctype.notation("name").public)
|
||||
assert_equal("public-id-literal", doctype.notation("name").public)
|
||||
end
|
||||
|
||||
def test_double_quote
|
||||
doctype = parse(<<-INTERNAL_SUBSET)
|
||||
<!NOTATION name PUBLIC "public-id-literal" "system-literal">
|
||||
INTERNAL_SUBSET
|
||||
assert_equal("pubilc-id-literal", doctype.notation("name").public)
|
||||
assert_equal("public-id-literal", doctype.notation("name").public)
|
||||
end
|
||||
end
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче