1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
// +build go1.5 // = go 1.5 or higher package cryptocore import ( "testing" ) func TestCryptoCoreNewGo15(t *testing.T) { key := make([]byte, 32) c := New(key, BackendGoGCM, 128) if c.IVLen != 16 { t.Fail() } }