route/vendor/github.com/bifurcation/mint/alert_test.go

12 lines
242 B
Go
Raw Normal View History

2018-01-03 19:19:49 +00:00
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)")
}