trivial: typo cleanup

Signed-off-by: David Mackey <tdmackey@booleanhaiku.com>
This commit is contained in:
David Mackey 2015-04-27 13:33:30 -07:00
parent f023195a1e
commit b590208498
3 changed files with 4 additions and 4 deletions

View file

@ -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)
}