Преглед на файлове

Merge pull request #40014 from thaJeztah/fix_golint_copy_pasta

integration-cli: fix golint (copy/paste whoops)
Kirill Kolyshkin преди 5 години
родител
ревизия
58653d097c
променени са 1 файла, в които са добавени 2 реда и са изтрити 2 реда
  1. 2 2
      integration-cli/checker/checker.go

+ 2 - 2
integration-cli/checker/checker.go

@@ -62,14 +62,14 @@ func DeepEquals(y interface{}) Compare {
 	}
 }
 
-// DeepEquals compares if two values are deepequal
+// HasLen checks if the value has the expected number of elements
 func HasLen(y int) Compare {
 	return func(x interface{}) assert.BoolOrComparison {
 		return cmp.Len(x, y)
 	}
 }
 
-// DeepEquals checks if the given value is nil
+// IsNil checks if the value is nil
 func IsNil() Compare {
 	return func(x interface{}) assert.BoolOrComparison {
 		return cmp.Nil(x)