aboutsummaryrefslogtreecommitdiffstats
path: root/binapigen/vppapi/vppapi_test.go
diff options
context:
space:
mode:
authorVladimir Lavor <vlavor@cisco.com>2020-12-22 15:35:31 +0100
committerOndrej Fabry <ofabry@cisco.com>2021-02-01 12:31:39 +0000
commitc0c73d34a7f5eae44e7c9230ddccc0cfcb201084 (patch)
tree206568c2717b45bbc8c71783d37e0bec3a2e2ae6 /binapigen/vppapi/vppapi_test.go
parent4da29d1fb32a77dd299e84a9ed3a11ddcaa31a3b (diff)
Rework test for binary API union sizes
The test now generates various unions from union.api.json and tests correct sizes of generated types. Change-Id: Ifaf18a8ce650e71a8ca8b2d5cfb9d7eed2d757c6 Signed-off-by: Vladimir Lavor <vlavor@cisco.com>
Diffstat (limited to 'binapigen/vppapi/vppapi_test.go')
-rw-r--r--binapigen/vppapi/vppapi_test.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/binapigen/vppapi/vppapi_test.go b/binapigen/vppapi/vppapi_test.go
index 027cc1f..a555d9f 100644
--- a/binapigen/vppapi/vppapi_test.go
+++ b/binapigen/vppapi/vppapi_test.go
@@ -27,7 +27,7 @@ func TestGetInputFiles(t *testing.T) {
result, err := FindFiles("testdata", 1)
Expect(err).ShouldNot(HaveOccurred())
- Expect(result).To(HaveLen(5))
+ Expect(result).To(HaveLen(6))
for _, file := range result {
Expect(file).To(BeAnExistingFile())
}