1
0
mirror of https://github.com/sstephenson/bats.git synced 2026-02-25 09:18:10 +01:00

Abort when load is invoked with a nonexistent script

This commit is contained in:
Sam Stephenson
2012-11-16 14:35:48 -06:00
parent a75495b9dd
commit 04be7dc717
3 changed files with 14 additions and 2 deletions

View File

@@ -1,4 +1,5 @@
load test_helper
[ -n "$HELPER_NAME" ] || HELPER_NAME="test_helper"
load "$HELPER_NAME"
@test "calling a loaded helper" {
help_me