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:
3
test/fixtures/bats/load.bats
vendored
3
test/fixtures/bats/load.bats
vendored
@@ -1,4 +1,5 @@
|
||||
load test_helper
|
||||
[ -n "$HELPER_NAME" ] || HELPER_NAME="test_helper"
|
||||
load "$HELPER_NAME"
|
||||
|
||||
@test "calling a loaded helper" {
|
||||
help_me
|
||||
|
||||
Reference in New Issue
Block a user