Skip to content

Commit

Permalink
test/template: Fix tar failure test case URLs
Browse files Browse the repository at this point in the history
Forgot to ensure the assertions contained `$NATIVE_LOCAL_URL`, since I'm
forcing the test case to use the locally-generated tarball.
  • Loading branch information
mbland committed Sep 10, 2017
1 parent 41daa0c commit d60a272
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/template.bats
Expand Up @@ -291,8 +291,8 @@ run_with_download_program() {
run "$BASH" "$TEST_GO_ROOTDIR/go-template"
restore_program_in_path 'tar'

assert_output_matches "Downloading framework from '$EXPECTED_URL'\.\.\."
assert_output_matches "Failed to download from '$LOCAL_DOWNLOAD_URL'"
assert_output_matches "Downloading framework from '$NATIVE_LOCAL_URL'\.\.\."
assert_output_matches "Failed to download from '$NATIVE_LOCAL_URL'"
assert_output_matches "Using git clone as fallback"
assert_output_matches "Cloning framework from '$GO_SCRIPT_BASH_REPO_URL'"
assert_output_matches "Cloning into '$CLONE_DIR'"
Expand Down

0 comments on commit d60a272

Please sign in to comment.