12 lines
242 B
Go
12 lines
242 B
Go
|
package mint
|
||
|
|
||
|
import (
|
||
|
"testing"
|
||
|
)
|
||
|
|
||
|
func TestAlert(t *testing.T) {
|
||
|
assertEquals(t, AlertCloseNotify.String(), "close notify")
|
||
|
assertEquals(t, AlertCloseNotify.Error(), "close notify")
|
||
|
assertEquals(t, Alert(0xfc).String(), "alert(252)")
|
||
|
}
|