mirror of
https://github.com/gchq/CyberChef.git
synced 2025-05-10 00:05:11 -04:00
fix the test error
This commit is contained in:
parent
4b5e631eec
commit
707562ae34
2 changed files with 13 additions and 2 deletions
|
@ -136,7 +136,7 @@ TestRegister.addApiTests([
|
||||||
|
|
||||||
it("chef.help: returns multiple results", () => {
|
it("chef.help: returns multiple results", () => {
|
||||||
const result = chef.help("base 64");
|
const result = chef.help("base 64");
|
||||||
assert.strictEqual(result.length, 11);
|
assert.strictEqual(result.length, 13);
|
||||||
}),
|
}),
|
||||||
|
|
||||||
it("chef.help: looks in description for matches too", () => {
|
it("chef.help: looks in description for matches too", () => {
|
||||||
|
|
|
@ -16,7 +16,18 @@ TestRegister.addTests([
|
||||||
recipeConfig: [
|
recipeConfig: [
|
||||||
{
|
{
|
||||||
op: "From Base91",
|
op: "From Base91",
|
||||||
args: ["A-Za-z0-9!#$%&()*+,./:;<=>?@[]^_`{|}~""],
|
args: ["A-Za-z0-9!#$%&()*+,./:;<=>?@[]^_`{|}~\""],
|
||||||
|
},
|
||||||
|
],
|
||||||
|
},
|
||||||
|
{
|
||||||
|
name: "To Base91: First",
|
||||||
|
input: "idevlab",
|
||||||
|
expectedOutput: "lM_1Z<jNG",
|
||||||
|
recipeConfig: [
|
||||||
|
{
|
||||||
|
op: "To Base91",
|
||||||
|
args: ["A-Za-z0-9!#$%&()*+,./:;<=>?@[]^_`{|}~\""],
|
||||||
},
|
},
|
||||||
],
|
],
|
||||||
},
|
},
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue