Skip to content

Commit 44475c5

Browse files
committed
affine cipher: remove reference to an exit code
While it is idiomatic for shell scripts to indicate an error status via exit code, doing so is uncommon in other languages. For generality, the problem specifications should not instruct the test suites to return an exit code. This includes a bump to the patch version as the test suite has not changed at all.
1 parent c41a2f0 commit 44475c5

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

exercises/affine-cipher/canonical-data.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"exercise": "affine-cipher",
3-
"version": "2.0.0",
3+
"version": "2.0.1",
44
"comments": [
55
"The test are divided into two groups: ",
66
"* Encoding from English to affine cipher",

exercises/affine-cipher/description.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ More information regarding how to find a Modular Multiplicative Inverse
3333
and what it means can be found [here.](https://en.wikipedia.org/wiki/Modular_multiplicative_inverse)
3434

3535
Because automatic decryption fails if `a` is not coprime to `m` your
36-
program should return status 1 and `"Error: a and m must be coprime."`
36+
program should error
3737
if they are not. Otherwise it should encode or decode with the
3838
provided key.
3939

0 commit comments

Comments
 (0)