Fix printf verb in TestRegTxt

Picked up by `go vet`