mirror of
https://github.com/gchq/CyberChef.git
synced 2025-05-10 16:25:01 -04:00
Clean up PGP test names (caps)
This commit is contained in:
parent
58f7e57896
commit
56154a7987
1 changed files with 3 additions and 3 deletions
|
@ -228,7 +228,7 @@ PGP_TEST_KEY_PAIRS.forEach(function(keyPair) {
|
||||||
["", "hello world"].forEach(function(input) {
|
["", "hello world"].forEach(function(input) {
|
||||||
TestRegister.addTests(
|
TestRegister.addTests(
|
||||||
PGP_TEST_KEY_PAIRS.map(function(keyPair) {
|
PGP_TEST_KEY_PAIRS.map(function(keyPair) {
|
||||||
var testName = "PGP encrypt, PGP decrypt ($pw, $ks) '$input'";
|
var testName = "PGP Encrypt, PGP Decrypt ($pw, $ks) '$input'";
|
||||||
testName = testName.replace("$ks", keyPair.size);
|
testName = testName.replace("$ks", keyPair.size);
|
||||||
testName = testName.replace("$pw", keyPair.password ? "pw" : "no pw");
|
testName = testName.replace("$pw", keyPair.password ? "pw" : "no pw");
|
||||||
testName = testName.replace("$input", input);
|
testName = testName.replace("$input", input);
|
||||||
|
@ -253,7 +253,7 @@ PGP_TEST_KEY_PAIRS.forEach(function(keyPair) {
|
||||||
});
|
});
|
||||||
|
|
||||||
TestRegister.addTests([{
|
TestRegister.addTests([{
|
||||||
name: "PGP encrypt, PGP Decrypt: fails when incorrect password, empty string (1024)",
|
name: "PGP Encrypt, PGP Decrypt: fails when incorrect password, empty string (1024)",
|
||||||
input: "",
|
input: "",
|
||||||
expectedError: true,
|
expectedError: true,
|
||||||
recipeConfig: [
|
recipeConfig: [
|
||||||
|
@ -269,7 +269,7 @@ TestRegister.addTests([{
|
||||||
}]);
|
}]);
|
||||||
|
|
||||||
TestRegister.addTests([{
|
TestRegister.addTests([{
|
||||||
name: "PGP encrypt, PGP Decrypt: fails when incorrect password, hello world (1024)",
|
name: "PGP Encrypt, PGP Decrypt: fails when incorrect password, hello world (1024)",
|
||||||
input: "hello world",
|
input: "hello world",
|
||||||
expectedError: true,
|
expectedError: true,
|
||||||
recipeConfig: [
|
recipeConfig: [
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue