Skip to content

fix repo/path/tag detection to work with https repos - #12

Open
serchaos wants to merge 1 commit into
masterfrom
https-repo
Open

fix repo/path/tag detection to work with https repos#12
serchaos wants to merge 1 commit into
masterfrom
https-repo

Conversation

@serchaos

Copy link
Copy Markdown

Fixing issue #9. Had to do some refactoring, so please let me know if anything's out of line.

Comment thread stevedore_test.go
actual := extractRepo(testCase.repo)

if actual != testCase.expected {
t.Errorf("Expected (%q), got (%q)", testCase.expected, actual)

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

super minor nit but since you're quoting the values with %q, there's not much need for the parens. I think the test error would be readable enough w/o them.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants