route/vendor/github.com/bifurcation/mint/alert_test.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)")
}