We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3afb840 commit bd1094dCopy full SHA for bd1094d
test/parse.js
@@ -157,11 +157,10 @@ U=</data>
157
parseFixture('<dict><key>a</key><key>b</key></dict>');
158
});
159
160
-
161
- it('should throw if value is missing', function () {
162
- assert.throws(function () {
163
- parseFixture('<dict><key>a</key></dict>');
164
- });
+
+ it('should parse to empry string if value is missing', function () {
+ var parsed = parseFixture('<dict><key>a</key></dict>');
+ assert.deepEqual(parsed, { 'a': '' });
165
166
167
it('should parse an empty key', function () {
0 commit comments