Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Correctly normalize Windows package paths. #392

Merged
merged 6 commits into from
Apr 26, 2016
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Show errors for both return values, not just first.
  • Loading branch information
jrick committed Apr 22, 2016
commit 242bd48c3244b8eb7aeb37a265163f80295ebb40
6 changes: 3 additions & 3 deletions util/normalizename_test.go
Original file line number Diff line number Diff line change
@@ -38,10 +38,10 @@ func TestNormalizeName(t *testing.T) {
}
for _, test := range packages {
root, extra := NormalizeName(test.input)
switch {
case root != test.root:
if root != test.root {
t.Errorf("%s: Expected root '%s', got '%s'", test.input, test.root, root)
case extra != test.extra:
}
if extra != test.extra {
t.Errorf("%s: Expected extra '%s', got '%s'", test.input, test.extra, extra)
}
}