1 // Copyright (C) The Arvados Authors. All rights reserved.
3 // SPDX-License-Identifier: AGPL-3.0
10 check "gopkg.in/check.v1"
13 var _ = check.Suite(&UptodateSuite{})
15 type UptodateSuite struct{}
17 func (*UptodateSuite) TestUpToDate(c *check.C) {
18 output, err := exec.Command("go", "run", "generate.go", "-check").CombinedOutput()
21 c.Error("generated.go is out of date -- run 'go generate' to update it")