Skip to content

Commit 6807e9e

Browse files
committed
test(client): add JSON flag fixture
1 parent bca1b6d commit 6807e9e

1 file changed

Lines changed: 8 additions & 0 deletions

File tree

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
#!/bin/sh
2+
for arg in "$@"; do
3+
if [ "$arg" = "--json" ]; then
4+
printf '%s\n' '{"type":"done","message":"json-enabled"}'
5+
exit 0
6+
fi
7+
done
8+
printf '%s\n' 'not-json'

0 commit comments

Comments
 (0)