Skip to content

Commit

Permalink
Add case to append empty list to list
Browse files Browse the repository at this point in the history
  • Loading branch information
wolf99 authored and wolf99 committed Oct 13, 2020
1 parent 5c7d015 commit c7b1fa1
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions exercises/list-ops/canonical-data.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,15 @@
},
"expected": [1, 2, 3, 4]
},
{
"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 c7b1fa1

Please sign in to comment.