Skip to content

Commit 2ea5d7c

Browse files
wolf99wol99
andauthored
list-ops: add append case (#1612)
* Add case to append empty list to list * Add UUID Co-authored-by: wolf99 <wol99@users.noreply.github.com>
1 parent af44df1 commit 2ea5d7c

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

exercises/list-ops/canonical-data.json

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,16 @@
2929
},
3030
"expected": [1, 2, 3, 4]
3131
},
32+
{
33+
"uuid": "e842efed-3bf6-4295-b371-4d67a4fdf19c",
34+
"description": "empty list to list",
35+
"property": "append",
36+
"input": {
37+
"list1": [1, 2, 3, 4],
38+
"list2": []
39+
},
40+
"expected": [1, 2, 3, 4]
41+
},
3242
{
3343
"uuid": "71dcf5eb-73ae-4a0e-b744-a52ee387922f",
3444
"description": "non-empty lists",

0 commit comments

Comments
 (0)