trivial: typo cleanup
Signed-off-by: David Mackey <tdmackey@booleanhaiku.com>
This commit is contained in:
parent
f023195a1e
commit
b590208498
3 changed files with 4 additions and 4 deletions
|
@ -20,7 +20,7 @@ func TestCanonicalTarNameForPath(t *testing.T) {
|
|||
if out, err := CanonicalTarNameForPath(v.in); err != nil && !v.shouldFail {
|
||||
t.Fatalf("cannot get canonical name for path: %s: %v", v.in, err)
|
||||
} else if v.shouldFail && err == nil {
|
||||
t.Fatalf("canonical path call should have pailed with error. in=%s out=%s", v.in, out)
|
||||
t.Fatalf("canonical path call should have failed with error. in=%s out=%s", v.in, out)
|
||||
} else if !v.shouldFail && out != v.expected {
|
||||
t.Fatalf("wrong canonical tar name. expected:%s got:%s", v.expected, out)
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue