Skip to content

Commit

Permalink
add test to cover mixed data types
Browse files Browse the repository at this point in the history
  • Loading branch information
reubenmiller committed May 18, 2024
1 parent c436df8 commit 05cada6
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions tests/manual/common/flag_data.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -64,3 +64,11 @@ tests:
"subtypes": ["linuxA", "linuxB"]
}
}
It should not panic when mixing data types:
command: |
c8y devices create -n --data one=1 --data one.two=null --dry
exit-code: 101
stderr:
not-contains:
- panic

0 comments on commit 05cada6

Please sign in to comment.