error if you try to use features that aren't done (fragments/interfaces)

This commit is contained in:
Ben Kraft
2021-04-02 16:19:50 -07:00
parent edb12e3e0a
commit 334c186944
3 changed files with 13 additions and 0 deletions
+2
View File
@@ -48,6 +48,8 @@ func gofmt(filename, src string) (string, error) {
// snapshots don't even get compiled!
func TestGenerate(t *testing.T) {
update := (os.Getenv("UPDATE_SNAPSHOTS") == "1")
// we can test parts of features even if they're not done yet!
allowBrokenFeatures = true
files, err := ioutil.ReadDir(dataDir)
if err != nil {