Skip to content

Commit

Permalink
add error handling to new-test script
Browse files Browse the repository at this point in the history
  • Loading branch information
npryce committed Aug 20, 2018
1 parent fefab1e commit 429a92d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion new-test
@@ -1,5 +1,5 @@
#!/bin/sh
set -e
touch tests/$1.{sh,expected}
touch tests/${1:?test-name}.{sh,expected}
${VISUAL:-${EDITOR:-true}} tests/$1.{sh,expected}
echo tests/$1.{sh,expected}

0 comments on commit 429a92d

Please sign in to comment.