go-json/codec_go16_test.go

14 lines
201 B
Go
Raw Normal View History

// +build go1.16
package json
import (
"testing"
)
func TestTypeAddressAligned32(t *testing.T) {
if typeAddrShift != 5 {
t.Fatalf("unexpected type address shift %d, want 5", typeAddrShift)
}
}