Merge branch '17351-arvput-keepclient-storage-support'
[arvados.git] / lib / controller / federation / generated_test.go
1 // Copyright (C) The Arvados Authors. All rights reserved.
2 //
3 // SPDX-License-Identifier: AGPL-3.0
4
5 package federation
6
7 import (
8         "os/exec"
9
10         check "gopkg.in/check.v1"
11 )
12
13 var _ = check.Suite(&UptodateSuite{})
14
15 type UptodateSuite struct{}
16
17 func (*UptodateSuite) TestUpToDate(c *check.C) {
18         output, err := exec.Command("go", "run", "generate.go", "-check").CombinedOutput()
19         if err != nil {
20                 c.Log(string(output))
21                 c.Error("generated.go is out of date -- run 'go generate' to update it")
22         }
23 }