(t *testing.T)
| 45 | } |
| 46 | |
| 47 | func TestNotInTransitionError(t *testing.T) { |
| 48 | e := NotInTransitionError{} |
| 49 | if e.Error() != "transition inappropriate because no state change in progress" { |
| 50 | t.Error("NotInTransitionError string mismatch") |
| 51 | } |
| 52 | } |
| 53 | |
| 54 | func TestNoTransitionError(t *testing.T) { |
| 55 | e := NoTransitionError{} |