Skip to content

Commit

Permalink
simple-cipher: remove invalid input cases
Browse files Browse the repository at this point in the history
  • Loading branch information
rpottsoh committed Oct 2, 2018
1 parent b9f4089 commit 42dd863
Showing 1 changed file with 1 addition and 30 deletions.
31 changes: 1 addition & 30 deletions exercises/simple-cipher/canonical-data.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"exercise": "simple-cipher",
"version": "1.1.0",
"version": "1.2.0",
"comments":
["Some of the strings used in this file are symbolic and do not represent their literal value. They are:",
"cipher.key - Represents the Cipher key",
Expand Down Expand Up @@ -114,35 +114,6 @@
"expected": "iboaqcnecbfcr"
}
]
},
{
"description": "Incorrect key cipher",
"cases": [
{
"description": "Throws an error with an all uppercase key",
"property": "new",
"input": {
"key": "ABCDEF"
},
"expected": { "error": "Bad key" }
},
{
"description": "Throws an error with a numeric key",
"property": "new",
"input": {
"key": "12345"
},
"expected": { "error": "Bad key" }
},
{
"description": "Throws an error with empty key",
"property": "new",
"input": {
"key": ""
},
"expected": { "error": "Bad key" }
}
]
}
]
}

0 comments on commit 42dd863

Please sign in to comment.