Skip to content

Commit

Permalink
list-ops: add append case (#1612)
Browse files Browse the repository at this point in the history
* Add case to append empty list to list

* Add UUID

Co-authored-by: wolf99 <[email protected]>
  • Loading branch information
wolf99 and wolf99 authored Oct 14, 2020
1 parent af44df1 commit 2ea5d7c
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions exercises/list-ops/canonical-data.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,16 @@
},
"expected": [1, 2, 3, 4]
},
{
"uuid": "e842efed-3bf6-4295-b371-4d67a4fdf19c",
"description": "empty list to list",
"property": "append",
"input": {
"list1": [1, 2, 3, 4],
"list2": []
},
"expected": [1, 2, 3, 4]
},
{
"uuid": "71dcf5eb-73ae-4a0e-b744-a52ee387922f",
"description": "non-empty lists",
Expand Down

0 comments on commit 2ea5d7c

Please sign in to comment.