We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4b58fbc commit 674636dCopy full SHA for 674636d
tests/testing/stubbing.bats
@@ -26,3 +26,10 @@ teardown() {
26
[ -e "$_GO_CORE_DIR/lib/log" ]
27
assert_success 'Hello, World!'
28
}
29
+
30
31
+@test "$SUITE: create_core_module_stub aborts if module unknown" {
32
+ [ ! -e "$_GO_CORE_DIR/lib/foobar" ]
33
+ run create_core_module_stub 'foobar' 'echo Hello, World!'
34
+ assert_failure "No such core module: $_GO_CORE_DIR/lib/foobar"
35
+}
0 commit comments