public
Rubygem
Description: Ruby osx/plist extension for reading/writing property lists
Clone URL: git://github.com/kballard/osx-plist.git
Search Repo:
Add new assertion
kballard (author)
Fri Aug 12 18:54:49 -0700 2005
commit  089a7a748283d1937b5839a9aba32fc664cd5107
tree    9553761b48bf9d1d5c4ec83f0df78680a398134a
parent  43a54b4c551d15a9d0510febe9e53e1619bf3366
...
40
41
42
43
 
44
45
46
47
48
49
 
 
50
51
52
...
40
41
42
 
43
44
45
46
47
48
49
50
51
52
53
54
0
@@ -40,13 +40,15 @@
0
   end
0
 
0
   def test_io
0
-    plist = PropertyList.load(DATA)
0
+    plist, format = PropertyList.load(DATA, true)
0
 
0
     hash = setup_hash
0
 
0
     assert_equal(hash, plist)
0
     assert_equal(true, plist['foo']['random'].blob?)
0
     assert_equal(false, plist['string!'].blob?)
0
+    
0
+    assert_equal(:xml1, format)
0
   end
0
 
0
   def test_dump

Comments

    No one has commented yet.