fix the test error

This commit is contained in:
IChenDEV 2020-08-06 15:00:04 +08:00
parent 4b5e631eec
commit 707562ae34
2 changed files with 13 additions and 2 deletions

View file

@ -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", () => {

View file

@ -16,7 +16,18 @@ TestRegister.addTests([
recipeConfig: [ recipeConfig: [
{ {
op: "From Base91", op: "From Base91",
args: ["A-Za-z0-9!#$%&()*+,./:;<=>?@[]^_`{|}~&quot;"], args: ["A-Za-z0-9!#$%&()*+,./:;<=>?@[]^_`{|}~\""],
},
],
},
{
name: "To Base91: First",
input: "idevlab",
expectedOutput: "lM_1Z<jNG",
recipeConfig: [
{
op: "To Base91",
args: ["A-Za-z0-9!#$%&()*+,./:;<=>?@[]^_`{|}~\""],
}, },
], ],
}, },