mirror of
https://github.com/gchq/CyberChef.git
synced 2025-04-21 23:36:16 -04:00
Merge branch 'pH-T-master'
This commit is contained in:
commit
1171d6b165
2 changed files with 4 additions and 4 deletions
|
@ -46,7 +46,7 @@ class GetAllCasings extends Operation {
|
||||||
}
|
}
|
||||||
result += temp.join("") + "\n";
|
result += temp.join("") + "\n";
|
||||||
}
|
}
|
||||||
return result;
|
return result.slice(0, -1);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -11,7 +11,7 @@ TestRegister.addTests([
|
||||||
{
|
{
|
||||||
name: "All casings of test",
|
name: "All casings of test",
|
||||||
input: "test",
|
input: "test",
|
||||||
expectedOutput: "test\nTest\ntEst\nTEst\nteSt\nTeSt\ntESt\nTESt\ntesT\nTesT\ntEsT\nTEsT\nteST\nTeST\ntEST\nTEST\n",
|
expectedOutput: "test\nTest\ntEst\nTEst\nteSt\nTeSt\ntESt\nTESt\ntesT\nTesT\ntEsT\nTEsT\nteST\nTeST\ntEST\nTEST",
|
||||||
recipeConfig: [
|
recipeConfig: [
|
||||||
{
|
{
|
||||||
"op": "Get All Casings",
|
"op": "Get All Casings",
|
||||||
|
@ -22,7 +22,7 @@ TestRegister.addTests([
|
||||||
{
|
{
|
||||||
name: "All casings of t",
|
name: "All casings of t",
|
||||||
input: "t",
|
input: "t",
|
||||||
expectedOutput: "t\nT\n",
|
expectedOutput: "t\nT",
|
||||||
recipeConfig: [
|
recipeConfig: [
|
||||||
{
|
{
|
||||||
"op": "Get All Casings",
|
"op": "Get All Casings",
|
||||||
|
@ -33,7 +33,7 @@ TestRegister.addTests([
|
||||||
{
|
{
|
||||||
name: "All casings of null",
|
name: "All casings of null",
|
||||||
input: "",
|
input: "",
|
||||||
expectedOutput: "\n",
|
expectedOutput: "",
|
||||||
recipeConfig: [
|
recipeConfig: [
|
||||||
{
|
{
|
||||||
"op": "Get All Casings",
|
"op": "Get All Casings",
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue