Skip to content

Commit

Permalink
[testjson] Exclude known invalid JSON from tests
Browse files Browse the repository at this point in the history
There are invalid JSON files in themes/ that are used for unit tests, so
exclude those from the testjson.sh execution.

see #41
  • Loading branch information
tobi-wan-kenobi committed Feb 24, 2017
1 parent 188ee36 commit 633f167
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion testjson.sh
@@ -1,3 +1,3 @@
#!/bin/sh

find themes/ -name "*.json"|xargs cat|json_verify -s
find themes/ -name "*.json"|grep -v invalid|xargs cat|json_verify -s

0 comments on commit 633f167

Please sign in to comment.