diff --git a/cache/refs.go b/cache/refs.go index aa2a47256def..0cf30737abc0 100644 --- a/cache/refs.go +++ b/cache/refs.go @@ -655,7 +655,7 @@ func (sr *immutableRef) Clone() ImmutableRef { return sr.clone() } -// layertoDistributable changes the passed in media type to the "distributable" version of the media type. +// layerToDistributable changes the passed in media type to the "distributable" version of the media type. func layerToDistributable(mt string) string { if !images.IsNonDistributable(mt) { // Layer is already a distributable media type (or this is not even a layer). diff --git a/util/system/path_test.go b/util/system/path_test.go index c8d97c72d5ed..086c63a34480 100644 --- a/util/system/path_test.go +++ b/util/system/path_test.go @@ -165,7 +165,7 @@ func TestCheckSystemDriveAndRemoveDriveLetter(t *testing.T) { } } -// TestNormalizeWorkdir tests NormalizeWorkdir +// TestNormalizeWorkdirWindows tests NormalizeWorkdir func TestNormalizeWorkdirWindows(t *testing.T) { testCases := []struct { name string