fix typos
Signed-off-by: allencloud <allen.sun@daocloud.io>
This commit is contained in:
parent
83be58f17e
commit
b4488c647b
9 changed files with 11 additions and 11 deletions
|
@ -132,7 +132,7 @@ func TestDecompressStreamXz(t *testing.T) {
|
|||
archive, err := os.Open(tmp + "archive.xz")
|
||||
_, err = DecompressStream(archive)
|
||||
if err != nil {
|
||||
t.Fatalf("Failed to decompress a xz file.")
|
||||
t.Fatalf("Failed to decompress an xz file.")
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -181,7 +181,7 @@ func TestExtensionUncompressed(t *testing.T) {
|
|||
compression := Uncompressed
|
||||
output := compression.Extension()
|
||||
if output != "tar" {
|
||||
t.Fatalf("The extension of a uncompressed archive should be 'tar'.")
|
||||
t.Fatalf("The extension of an uncompressed archive should be 'tar'.")
|
||||
}
|
||||
}
|
||||
func TestExtensionBzip2(t *testing.T) {
|
||||
|
|
|
@ -252,7 +252,7 @@ func TestChangesWithChangesGH13590(t *testing.T) {
|
|||
checkChanges(expectedChanges, changes, t)
|
||||
}
|
||||
|
||||
// Create an directory, copy it, make sure we report no changes between the two
|
||||
// Create a directory, copy it, make sure we report no changes between the two
|
||||
func TestChangesDirsEmpty(t *testing.T) {
|
||||
// TODO Windows. There may be a way of running this, but turning off for now
|
||||
// as createSampleDir uses symlinks.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue