mirror of
https://github.com/gchq/CyberChef.git
synced 2025-04-22 15:56:16 -04:00
lint v2
This commit is contained in:
parent
3acbe2f744
commit
0117646fb9
1 changed files with 2 additions and 2 deletions
|
@ -13,7 +13,7 @@ const EXPECTED_YAML = "version: 1.0.0\ndependencies:\n yaml: ^1.10.0\npackage:\
|
|||
TestRegister.addTests([
|
||||
{
|
||||
name: "JSON to YAML: no spacing",
|
||||
input: JSON.stringify({"version":"1.0.0","dependencies":{"yaml":"^1.10.0"},"package":{"exclude":[".idea/**",".gitignore"]}}),
|
||||
input: JSON.stringify({ "version": "1.0.0", "dependencies": { "yaml": "^1.10.0" }, "package": { "exclude": [".idea/**", ".gitignore"]}}),
|
||||
expectedOutput: EXPECTED_YAML,
|
||||
recipeConfig: [
|
||||
{
|
||||
|
@ -24,7 +24,7 @@ TestRegister.addTests([
|
|||
},
|
||||
{
|
||||
name: "JSON to YAML: with spacing",
|
||||
input: JSON.stringify({"version":"1.0.0","dependencies":{"yaml":"^1.10.0"},"package":{"exclude":[".idea/**",".gitignore"]}}, null, 4),
|
||||
input: JSON.stringify({ "version": "1.0.0", "dependencies": { "yaml": "^1.10.0" }, "package": { "exclude": [".idea/**", ".gitignore"]}}, null, 4),
|
||||
expectedOutput: EXPECTED_YAML,
|
||||
recipeConfig: [
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue