anz-bank / sysl-go

Communication library used by SYSL-generated code written in Go.
Apache License 2.0
10 stars 14 forks source link

testdata sysl.json files are not regenerated by make #177

Closed orlade-anz closed 4 years ago

orlade-anz commented 4 years ago

https://github.com/anz-bank/sysl-go/pull/170 appears to have broken sysl-go since it regenerated and committed test outputs but not testdata/simple/sysl.json.

This would be fine if make caused testdata/simple/sysl.json to be regenerated before regenerating the derived code, but it doesn't. Thus the old code from before https://github.com/anz-bank/sysl-go/pull/170 is generated and the tests fail.