@@ -352,9 +352,9 @@ func compare(obj1, obj2 interface{}, kind reflect.Kind) (CompareType, bool) {
352
352
353
353
// Greater asserts that the first element is greater than the second
354
354
//
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")
358
358
func Greater (t TestingT , e1 interface {}, e2 interface {}, msgAndArgs ... interface {}) bool {
359
359
if h , ok := t .(tHelper ); ok {
360
360
h .Helper ()
@@ -364,10 +364,10 @@ func Greater(t TestingT, e1 interface{}, e2 interface{}, msgAndArgs ...interface
364
364
365
365
// GreaterOrEqual asserts that the first element is greater than or equal to the second
366
366
//
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")
371
371
func GreaterOrEqual (t TestingT , e1 interface {}, e2 interface {}, msgAndArgs ... interface {}) bool {
372
372
if h , ok := t .(tHelper ); ok {
373
373
h .Helper ()
@@ -377,9 +377,9 @@ func GreaterOrEqual(t TestingT, e1 interface{}, e2 interface{}, msgAndArgs ...in
377
377
378
378
// Less asserts that the first element is less than the second
379
379
//
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")
383
383
func Less (t TestingT , e1 interface {}, e2 interface {}, msgAndArgs ... interface {}) bool {
384
384
if h , ok := t .(tHelper ); ok {
385
385
h .Helper ()
@@ -389,10 +389,10 @@ func Less(t TestingT, e1 interface{}, e2 interface{}, msgAndArgs ...interface{})
389
389
390
390
// LessOrEqual asserts that the first element is less than or equal to the second
391
391
//
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")
396
396
func LessOrEqual (t TestingT , e1 interface {}, e2 interface {}, msgAndArgs ... interface {}) bool {
397
397
if h , ok := t .(tHelper ); ok {
398
398
h .Helper ()
@@ -402,8 +402,8 @@ func LessOrEqual(t TestingT, e1 interface{}, e2 interface{}, msgAndArgs ...inter
402
402
403
403
// Positive asserts that the specified element is positive
404
404
//
405
- // assert.Positive(t, 1)
406
- // assert.Positive(t, 1.23)
405
+ // assert.Positive(t, 1)
406
+ // assert.Positive(t, 1.23)
407
407
func Positive (t TestingT , e interface {}, msgAndArgs ... interface {}) bool {
408
408
if h , ok := t .(tHelper ); ok {
409
409
h .Helper ()
@@ -414,8 +414,8 @@ func Positive(t TestingT, e interface{}, msgAndArgs ...interface{}) bool {
414
414
415
415
// Negative asserts that the specified element is negative
416
416
//
417
- // assert.Negative(t, -1)
418
- // assert.Negative(t, -1.23)
417
+ // assert.Negative(t, -1)
418
+ // assert.Negative(t, -1.23)
419
419
func Negative (t TestingT , e interface {}, msgAndArgs ... interface {}) bool {
420
420
if h , ok := t .(tHelper ); ok {
421
421
h .Helper ()
0 commit comments