Files
avo/tests/textflag/attrtest_test.go
Michael McLoughlin f2315d539c tests: autogenerated test to confirm attribute strings
Test helps verify our attribute types match the macros in textflag.h.
Discovered https://golang.org/issue/29487 in the process.

Updates #2
2018-12-31 17:30:06 -08:00

14 lines
205 B
Go

package textflag
import "testing"
//go:generate go run make_attrtest.go -output zattrtest.s -seed 42 -num 256
func AttrTest() bool
func TestAttributes(t *testing.T) {
if !AttrTest() {
t.Fail()
}
}