Skip to content

Conversation

@mbland
Copy link
Owner

@mbland mbland commented Feb 10, 2017

Closes #144.

@mbland mbland added this to the v1.4.0 milestone Feb 10, 2017
@mbland mbland self-assigned this Feb 10, 2017
Previously I'd squelched the output because of the verbosity of the
`detached HEAD` warning when making a shallow clone, but it's not really
necessary anymore given `-c advice.detachedHead=false`. Now that the
`template` test is failing on Travis, I really need to see the output:

https://travis-ci.org/mbland/go-script-bash/jobs/200472791
https://travis-ci.org/mbland/go-script-bash/jobs/200472885
@coveralls
Copy link

Coverage Status

Coverage remained the same at 95.285% when pulling 0767f7f on template into 5dd8651 on master.

On MSYS2, `/tmp` (used in `TEST_GO_ROOTDIR` via `BATS_TMPDIR`) is mapped
to `C:/Users/<user>/AppData/Local/Temp/`. When `git clone ... ` is called
with a path starting with `/tmp`, its output show the `C:/Users/...`
path instead.

The fix is to update the `assert_output_matches` expression to match
only the `scripts/go-script-bash` suffix of the clone path instead of
the entire path.
@coveralls
Copy link

Coverage Status

Coverage remained the same at 95.285% when pulling a454f98 on template into 5dd8651 on master.

@coveralls
Copy link

Coverage Status

Coverage remained the same at 95.285% when pulling 303485e on template into 5dd8651 on master.

@coveralls
Copy link

Coverage Status

Coverage remained the same at 95.285% when pulling 1f23ffb on template into 5dd8651 on master.

@mbland mbland merged commit abe6a54 into master Feb 11, 2017
@mbland mbland deleted the template branch February 11, 2017 00:13
mbland added a commit that referenced this pull request Feb 12, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants