@@ -352,9 +352,9 @@ func compare(obj1, obj2 interface{}, kind reflect.Kind) (CompareType, bool) {
352352
353353// Greater asserts that the first element is greater than the second
354354//
355- // assert.Greater(t, 2, 1)
356- // assert.Greater(t, float64(2), float64(1))
357- // assert.Greater(t, "b", "a")
355+ // assert.Greater(t, 2, 1)
356+ // assert.Greater(t, float64(2), float64(1))
357+ // assert.Greater(t, "b", "a")
358358func Greater (t TestingT , e1 interface {}, e2 interface {}, msgAndArgs ... interface {}) bool {
359359 if h , ok := t .(tHelper ); ok {
360360 h .Helper ()
@@ -364,10 +364,10 @@ func Greater(t TestingT, e1 interface{}, e2 interface{}, msgAndArgs ...interface
364364
365365// GreaterOrEqual asserts that the first element is greater than or equal to the second
366366//
367- // assert.GreaterOrEqual(t, 2, 1)
368- // assert.GreaterOrEqual(t, 2, 2)
369- // assert.GreaterOrEqual(t, "b", "a")
370- // assert.GreaterOrEqual(t, "b", "b")
367+ // assert.GreaterOrEqual(t, 2, 1)
368+ // assert.GreaterOrEqual(t, 2, 2)
369+ // assert.GreaterOrEqual(t, "b", "a")
370+ // assert.GreaterOrEqual(t, "b", "b")
371371func GreaterOrEqual (t TestingT , e1 interface {}, e2 interface {}, msgAndArgs ... interface {}) bool {
372372 if h , ok := t .(tHelper ); ok {
373373 h .Helper ()
@@ -377,9 +377,9 @@ func GreaterOrEqual(t TestingT, e1 interface{}, e2 interface{}, msgAndArgs ...in
377377
378378// Less asserts that the first element is less than the second
379379//
380- // assert.Less(t, 1, 2)
381- // assert.Less(t, float64(1), float64(2))
382- // assert.Less(t, "a", "b")
380+ // assert.Less(t, 1, 2)
381+ // assert.Less(t, float64(1), float64(2))
382+ // assert.Less(t, "a", "b")
383383func Less (t TestingT , e1 interface {}, e2 interface {}, msgAndArgs ... interface {}) bool {
384384 if h , ok := t .(tHelper ); ok {
385385 h .Helper ()
@@ -389,10 +389,10 @@ func Less(t TestingT, e1 interface{}, e2 interface{}, msgAndArgs ...interface{})
389389
390390// LessOrEqual asserts that the first element is less than or equal to the second
391391//
392- // assert.LessOrEqual(t, 1, 2)
393- // assert.LessOrEqual(t, 2, 2)
394- // assert.LessOrEqual(t, "a", "b")
395- // assert.LessOrEqual(t, "b", "b")
392+ // assert.LessOrEqual(t, 1, 2)
393+ // assert.LessOrEqual(t, 2, 2)
394+ // assert.LessOrEqual(t, "a", "b")
395+ // assert.LessOrEqual(t, "b", "b")
396396func LessOrEqual (t TestingT , e1 interface {}, e2 interface {}, msgAndArgs ... interface {}) bool {
397397 if h , ok := t .(tHelper ); ok {
398398 h .Helper ()
@@ -402,8 +402,8 @@ func LessOrEqual(t TestingT, e1 interface{}, e2 interface{}, msgAndArgs ...inter
402402
403403// Positive asserts that the specified element is positive
404404//
405- // assert.Positive(t, 1)
406- // assert.Positive(t, 1.23)
405+ // assert.Positive(t, 1)
406+ // assert.Positive(t, 1.23)
407407func Positive (t TestingT , e interface {}, msgAndArgs ... interface {}) bool {
408408 if h , ok := t .(tHelper ); ok {
409409 h .Helper ()
@@ -414,8 +414,8 @@ func Positive(t TestingT, e interface{}, msgAndArgs ...interface{}) bool {
414414
415415// Negative asserts that the specified element is negative
416416//
417- // assert.Negative(t, -1)
418- // assert.Negative(t, -1.23)
417+ // assert.Negative(t, -1)
418+ // assert.Negative(t, -1.23)
419419func Negative (t TestingT , e interface {}, msgAndArgs ... interface {}) bool {
420420 if h , ok := t .(tHelper ); ok {
421421 h .Helper ()
0 commit comments