diff --git a/new-test b/new-test index 402699c..1adb825 100755 --- a/new-test +++ b/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}