Skip to content

Commit daf84d6

Browse files
petertsengiHiD
authored andcommitted
bowling, transpose: conform array format to rest of file
bowling has `previousRolls` on a single line. transpose has each element of `lines` on its own line. pull request: #1968
1 parent af2341d commit daf84d6

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

exercises/bowling/canonical-data.json

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -133,9 +133,7 @@
133133
"description": "last two strikes followed by only last bonus with non strike points",
134134
"property": "score",
135135
"input": {
136-
"previousRolls": [
137-
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 10, 10, 0, 1
138-
]
136+
"previousRolls": [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 10, 10, 0, 1]
139137
},
140138
"expected": 31
141139
},

exercises/transpose/canonical-data.json

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,9 @@
6464
"description": "single line",
6565
"property": "transpose",
6666
"input": {
67-
"lines": ["Single line."]
67+
"lines": [
68+
"Single line."
69+
]
6870
},
6971
"expected": [
7072
"S",

0 commit comments

Comments
 (0)