Skip to content

Commit

Permalink
Add more tests
Browse files Browse the repository at this point in the history
  • Loading branch information
davesnx committed Oct 9, 2023
1 parent 5a20cff commit 23b30b6
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
2 changes: 2 additions & 0 deletions test/keys.t
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
$ Bin 'keys' ./mock.json
[ "first", "second" ]
6 changes: 6 additions & 0 deletions test/mapping.t
Original file line number Diff line number Diff line change
Expand Up @@ -20,3 +20,9 @@
"url": "http://example.com/398eb027/4"
}
]

$ Bin '.doesntexist' ./mock.json

Error: Trying to ".doesntexist" on an object, that don't have the field "doesntexist":
{ "first": ..., "second": ... }

0 comments on commit 23b30b6

Please sign in to comment.