Skip to content

Commit e7055f9

Browse files
Crypto Square: fix test case description (#2556)
* Crypto Square: fix test case description 54 character plaintext results in 8 chunks, not 7. * new test reimplementing the old one
1 parent 2442651 commit e7055f9

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

exercises/crypto-square/canonical-data.json

+10
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,16 @@
7272
"plaintext": "If man was meant to stay on the ground, god would have given us roots."
7373
},
7474
"expected": "imtgdvs fearwer mayoogo anouuio ntnnlvt wttddes aohghn sseoau "
75+
},
76+
{
77+
"uuid": "33fd914e-fa44-445b-8f38-ff8fbc9fe6e6",
78+
"reimplements": "fbcb0c6d-4c39-4a31-83f6-c473baa6af80",
79+
"description": "54 character plaintext results in 8 chunks, the last two with trailing spaces",
80+
"property": "ciphertext",
81+
"input": {
82+
"plaintext": "If man was meant to stay on the ground, god would have given us roots."
83+
},
84+
"expected": "imtgdvs fearwer mayoogo anouuio ntnnlvt wttddes aohghn sseoau "
7585
}
7686
]
7787
}

0 commit comments

Comments
 (0)