Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/core/config/Categories.json
Original file line number Diff line number Diff line change
Expand Up @@ -299,7 +299,7 @@
"From Case Insensitive Regex",
"Add line numbers",
"Remove line numbers",
"Get All Casings",
"Get All Cases",
"To Table",
"Reverse",
"Sort",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,15 +9,15 @@ import Operation from "../Operation.mjs";
/**
* Permutate String operation
*/
class GetAllCasings extends Operation {
class GetAllCases extends Operation {

/**
* GetAllCasings constructor
* GetAllCases constructor
*/
constructor() {
super();

this.name = "Get All Casings";
this.name = "Get All Cases";
this.module = "Default";
this.description = "Outputs all possible casing variations of a string.";
this.infoURL = "";
Expand Down Expand Up @@ -50,4 +50,4 @@ class GetAllCasings extends Operation {
}
}

export default GetAllCasings;
export default GetAllCases;
2 changes: 1 addition & 1 deletion tests/operations/index.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ import "./tests/FromDecimal.mjs";
import "./tests/GenerateAllChecksums.mjs";
import "./tests/GenerateAllHashes.mjs";
import "./tests/GenerateDeBruijnSequence.mjs";
import "./tests/GetAllCasings.mjs";
import "./tests/GetAllCases.mjs";
import "./tests/GOST.mjs";
import "./tests/Gunzip.mjs";
import "./tests/Gzip.mjs";
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/**
* GetAllCasings tests.
* GetAllCases tests.
*
* @author n1073645 [[email protected]]
* @copyright Crown Copyright 2020
Expand All @@ -14,7 +14,7 @@ TestRegister.addTests([
expectedOutput: "test\nTest\ntEst\nTEst\nteSt\nTeSt\ntESt\nTESt\ntesT\nTesT\ntEsT\nTEsT\nteST\nTeST\ntEST\nTEST",
recipeConfig: [
{
"op": "Get All Casings",
"op": "Get All Cases",
"args": []
}
]
Expand All @@ -25,7 +25,7 @@ TestRegister.addTests([
expectedOutput: "t\nT",
recipeConfig: [
{
"op": "Get All Casings",
"op": "Get All Cases",
"args": []
}
]
Expand All @@ -36,7 +36,7 @@ TestRegister.addTests([
expectedOutput: "",
recipeConfig: [
{
"op": "Get All Casings",
"op": "Get All Cases",
"args": []
}
]
Expand Down
Loading