Skip to content

Commit bd1094d

Browse files
author
hiroro
committed
Change Test code for unity plist
1 parent 3afb840 commit bd1094d

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

test/parse.js

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -157,11 +157,10 @@ U=</data>
157157
parseFixture('<dict><key>a</key><key>b</key></dict>');
158158
});
159159
});
160-
161-
it('should throw if value is missing', function () {
162-
assert.throws(function () {
163-
parseFixture('<dict><key>a</key></dict>');
164-
});
160+
161+
it('should parse to empry string if value is missing', function () {
162+
var parsed = parseFixture('<dict><key>a</key></dict>');
163+
assert.deepEqual(parsed, { 'a': '' });
165164
});
166165

167166
it('should parse an empty key', function () {

0 commit comments

Comments
 (0)