Skip to content

Commit d60a272

Browse files
committed
test/template: Fix tar failure test case URLs
Forgot to ensure the assertions contained `$NATIVE_LOCAL_URL`, since I'm forcing the test case to use the locally-generated tarball.
1 parent 41daa0c commit d60a272

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/template.bats

+2-2
Original file line numberDiff line numberDiff line change
@@ -291,8 +291,8 @@ run_with_download_program() {
291291
run "$BASH" "$TEST_GO_ROOTDIR/go-template"
292292
restore_program_in_path 'tar'
293293

294-
assert_output_matches "Downloading framework from '$EXPECTED_URL'\.\.\."
295-
assert_output_matches "Failed to download from '$LOCAL_DOWNLOAD_URL'"
294+
assert_output_matches "Downloading framework from '$NATIVE_LOCAL_URL'\.\.\."
295+
assert_output_matches "Failed to download from '$NATIVE_LOCAL_URL'"
296296
assert_output_matches "Using git clone as fallback"
297297
assert_output_matches "Cloning framework from '$GO_SCRIPT_BASH_REPO_URL'"
298298
assert_output_matches "Cloning into '$CLONE_DIR'"

0 commit comments

Comments
 (0)