(t testing.TB, cond bool)
| 660 | unescape(string([]byte{'\\', '/', '\\', 'b', '\\', 'f'})) |
| 661 | } |
| 662 | func assert(t testing.TB, cond bool) { |
| 663 | if !cond { |
| 664 | panic("assert failed") |
| 665 | } |
| 666 | } |
| 667 | func TestLess(t *testing.T) { |
| 668 | assert(t, !Result{Type: Null}.Less(Result{Type: Null}, true)) |
| 669 | assert(t, Result{Type: Null}.Less(Result{Type: False}, true)) |
no outgoing calls
no test coverage detected
searching dependent graphs…