public
Rubygem
Description: Ruby osx/plist extension for reading/writing property lists
Clone URL: git://github.com/kballard/osx-plist.git
Search Repo:
Add another test
kballard (author)
Fri Aug 12 18:45:50 -0700 2005
commit  43a54b4c551d15a9d0510febe9e53e1619bf3366
tree    15f6245400458cbec99496d788d24e06e29595a7
parent  ec34c238b29b5a2c164ddee4d7889a13886d57a1
...
60
61
62
 
 
63
64
65
...
60
61
62
63
64
65
66
67
0
@@ -60,6 +60,8 @@ class TestPlist < Test::Unit::TestCase
0
   def test_to_plist
0
     assert_raise(PropertyListError) { "foo".to_plist(:openstep) }
0
     assert_equal("foo", PropertyList.load("foo".to_plist))
0
+    hash = setup_hash()
0
+    assert_equal(hash, PropertyList.load(hash.to_plist))
0
   end
0
 end
0
 

Comments

    No one has commented yet.