diff options
Diffstat (limited to 'test/test_parser.rb')
-rwxr-xr-x | test/test_parser.rb | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/test/test_parser.rb b/test/test_parser.rb index f110a9f..7b692a5 100755 --- a/test/test_parser.rb +++ b/test/test_parser.rb @@ -116,4 +116,10 @@ class TestParser < Test::Unit::TestCase assert_equal("\u0099", data["non-ascii-but-utf8-character"]) end end + + def test_unimplemented_element + assert_raise Plist::UnimplementedElementError do + Plist.parse_xml('<string>Fish & Chips</tring>') + end + end end |