Skip to content

Commit 1f23ffb

Browse files
committed
1 parent 303485e commit 1f23ffb

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

tests/template.bats

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -54,18 +54,18 @@ create_template_script() {
5454
}
5555

5656
@test "$SUITE: clone the go-script-bash repository from $GO_CORE_URL" {
57-
create_template_script "$_GO_CORE_DIR" "$_GO_CORE_VERSION"
57+
create_template_script "$GO_CORE_URL" "$_GO_CORE_VERSION"
5858
run "$TEST_GO_ROOTDIR/go-template"
5959

6060
# Without a command argument, the script will print the top-level help and
6161
# return an error, but the core repo should exist as expected.
6262
assert_failure
63-
assert_output_matches "Cloning framework from '$_GO_CORE_DIR'\.\.\."
63+
assert_output_matches "Cloning framework from '$GO_CORE_URL'\.\.\."
6464

6565
# Use `.*/scripts/go-script-bash` to account for the fact that `git clone` on
6666
# MSYS2 will output `C:/Users/<user>/AppData/Local/Temp/` in place of `/tmp`.
6767
assert_output_matches "Cloning into '.*/scripts/go-script-bash'\.\.\."
68-
assert_output_matches "Clone of '$_GO_CORE_DIR' successful\."$'\n\n'
68+
assert_output_matches "Clone of '$GO_CORE_URL' successful\."$'\n\n'
6969
assert_output_matches "Usage: $TEST_GO_ROOTDIR/go-template <command>"
7070
[[ -f "$TEST_GO_ROOTDIR/scripts/go-script-bash/go-core.bash" ]]
7171

0 commit comments

Comments
 (0)