Skip to content

Commit

Permalink
Change Test code for unity plist
Browse files Browse the repository at this point in the history
  • Loading branch information
hiroro committed Apr 26, 2022
1 parent 3afb840 commit bd1094d
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions test/parse.js
Original file line number Diff line number Diff line change
Expand Up @@ -157,11 +157,10 @@ U=</data>
parseFixture('<dict><key>a</key><key>b</key></dict>');
});
});

it('should throw if value is missing', function () {
assert.throws(function () {
parseFixture('<dict><key>a</key></dict>');
});

it('should parse to empry string if value is missing', function () {
var parsed = parseFixture('<dict><key>a</key></dict>');
assert.deepEqual(parsed, { 'a': '' });
});

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

0 comments on commit bd1094d

Please sign in to comment.