-
-
Notifications
You must be signed in to change notification settings - Fork 555
Closed
Description
The current version of the transpose-test cases (1.0.0) seem to miss out on a case:
There are two test-cases which cover the correct right-stripping of white-space
("first line longer than second line" and "many lines"), yet they do not cover the case, where you have to right-trim whitespace with multiple lines at the end (Idk if i describe it correctly).
I noticed it, when I checked some implementations in the Python track which failed my following suggested test:
{
"description": "descending line length",
"property": "transpose",
"input": [
"The longest line.",
"A longer line.",
"A long line."
],
"expected": [
"TAA",
"h ",
"ell",
" oo",
"lnn",
"ogg",
"ne ",
"grl",
"e i",
"sln",
"tie",
" n.",
"le",
"i.",
"n",
"e",
"."
]
}
Metadata
Metadata
Assignees
Labels
No labels