| 1 |
package mint |
| 2 |
|
| 3 |
import ( |
| 4 |
"testing" |
| 5 |
) |
| 6 |
|
| 7 |
func TestAlert(t *testing.T) { |
| 8 |
assertEquals(t, AlertCloseNotify.String(), "close notify") |
| 9 |
assertEquals(t, AlertCloseNotify.Error(), "close notify") |
| 10 |
assertEquals(t, Alert(0xfc).String(), "alert(252)") |
| 11 |
} |