assert_test.go 283 B

123456789101112131415
  1. package assert
  2. import (
  3. "testing"
  4. )
  5. func TestLineNumbers(t *testing.T) {
  6. Equal(t, "foo", "foo", "msg!")
  7. //Equal(t, "foo", "bar", "this should blow up")
  8. }
  9. func TestNotEqual(t *testing.T) {
  10. NotEqual(t, "foo", "bar", "msg!")
  11. //NotEqual(t, "foo", "foo", "this should blow up")
  12. }