assertions.go 3.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869
  1. package convey
  2. import "github.com/smartystreets/assertions"
  3. var (
  4. ShouldEqual = assertions.ShouldEqual
  5. ShouldNotEqual = assertions.ShouldNotEqual
  6. ShouldAlmostEqual = assertions.ShouldAlmostEqual
  7. ShouldNotAlmostEqual = assertions.ShouldNotAlmostEqual
  8. ShouldResemble = assertions.ShouldResemble
  9. ShouldNotResemble = assertions.ShouldNotResemble
  10. ShouldPointTo = assertions.ShouldPointTo
  11. ShouldNotPointTo = assertions.ShouldNotPointTo
  12. ShouldBeNil = assertions.ShouldBeNil
  13. ShouldNotBeNil = assertions.ShouldNotBeNil
  14. ShouldBeTrue = assertions.ShouldBeTrue
  15. ShouldBeFalse = assertions.ShouldBeFalse
  16. ShouldBeZeroValue = assertions.ShouldBeZeroValue
  17. ShouldBeGreaterThan = assertions.ShouldBeGreaterThan
  18. ShouldBeGreaterThanOrEqualTo = assertions.ShouldBeGreaterThanOrEqualTo
  19. ShouldBeLessThan = assertions.ShouldBeLessThan
  20. ShouldBeLessThanOrEqualTo = assertions.ShouldBeLessThanOrEqualTo
  21. ShouldBeBetween = assertions.ShouldBeBetween
  22. ShouldNotBeBetween = assertions.ShouldNotBeBetween
  23. ShouldBeBetweenOrEqual = assertions.ShouldBeBetweenOrEqual
  24. ShouldNotBeBetweenOrEqual = assertions.ShouldNotBeBetweenOrEqual
  25. ShouldContain = assertions.ShouldContain
  26. ShouldNotContain = assertions.ShouldNotContain
  27. ShouldContainKey = assertions.ShouldContainKey
  28. ShouldNotContainKey = assertions.ShouldNotContainKey
  29. ShouldBeIn = assertions.ShouldBeIn
  30. ShouldNotBeIn = assertions.ShouldNotBeIn
  31. ShouldBeEmpty = assertions.ShouldBeEmpty
  32. ShouldNotBeEmpty = assertions.ShouldNotBeEmpty
  33. ShouldHaveLength = assertions.ShouldHaveLength
  34. ShouldStartWith = assertions.ShouldStartWith
  35. ShouldNotStartWith = assertions.ShouldNotStartWith
  36. ShouldEndWith = assertions.ShouldEndWith
  37. ShouldNotEndWith = assertions.ShouldNotEndWith
  38. ShouldBeBlank = assertions.ShouldBeBlank
  39. ShouldNotBeBlank = assertions.ShouldNotBeBlank
  40. ShouldContainSubstring = assertions.ShouldContainSubstring
  41. ShouldNotContainSubstring = assertions.ShouldNotContainSubstring
  42. ShouldPanic = assertions.ShouldPanic
  43. ShouldNotPanic = assertions.ShouldNotPanic
  44. ShouldPanicWith = assertions.ShouldPanicWith
  45. ShouldNotPanicWith = assertions.ShouldNotPanicWith
  46. ShouldHaveSameTypeAs = assertions.ShouldHaveSameTypeAs
  47. ShouldNotHaveSameTypeAs = assertions.ShouldNotHaveSameTypeAs
  48. ShouldImplement = assertions.ShouldImplement
  49. ShouldNotImplement = assertions.ShouldNotImplement
  50. ShouldHappenBefore = assertions.ShouldHappenBefore
  51. ShouldHappenOnOrBefore = assertions.ShouldHappenOnOrBefore
  52. ShouldHappenAfter = assertions.ShouldHappenAfter
  53. ShouldHappenOnOrAfter = assertions.ShouldHappenOnOrAfter
  54. ShouldHappenBetween = assertions.ShouldHappenBetween
  55. ShouldHappenOnOrBetween = assertions.ShouldHappenOnOrBetween
  56. ShouldNotHappenOnOrBetween = assertions.ShouldNotHappenOnOrBetween
  57. ShouldHappenWithin = assertions.ShouldHappenWithin
  58. ShouldNotHappenWithin = assertions.ShouldNotHappenWithin
  59. ShouldBeChronological = assertions.ShouldBeChronological
  60. )