Comparing version 2.0.5 to 2.0.6
{ | ||
"name": "toml", | ||
"version": "2.0.5", | ||
"version": "2.0.6", | ||
"description": "TOML parser for Node.js", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -145,2 +145,22 @@ var toml = require('../'); | ||
exports.testArrayWithWhitespace = function(test) { | ||
var str = "[versions]\nfiles = [\n 3, \n 5 \n\n ]"; | ||
test.deepEqual(toml.parse(str), { | ||
versions: { | ||
files: [3, 5] | ||
} | ||
}); | ||
test.done(); | ||
}; | ||
exports.testEmptyArrayWithWhitespace = function(test) { | ||
var str = "[versions]\nfiles = [\n \n ]"; | ||
test.deepEqual(toml.parse(str), { | ||
versions: { | ||
files: [] | ||
} | ||
}); | ||
test.done(); | ||
}; | ||
exports.textDefineOnSuperkey = function(test) { | ||
@@ -147,0 +167,0 @@ var str = "[a.b]\nc = 1\n\n[a]\nd = 2"; |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
88154
2496