diff options
author | Lukas Macko <lmacko@cisco.com> | 2017-09-07 10:00:26 +0200 |
---|---|---|
committer | Lukas Macko <lmacko@cisco.com> | 2017-09-07 10:09:45 +0200 |
commit | f2cbe790a5c3c3e8cb59b592c252b2b84025bd91 (patch) | |
tree | ac2fafdcb653ee05ed8ca3cfbc18d818cf6e7f3d /vendor/github.com/lunixbochs/struc/struc_test.go | |
parent | 13ab652c89a8bf5b16017156f8fb388e1889a8e1 (diff) |
Wait until vpp is ready + Update vendor
Change-Id: I7c42d44d60f84fd21e55f9e4928d776f5466cc83
Signed-off-by: Lukas Macko <lmacko@cisco.com>
Diffstat (limited to 'vendor/github.com/lunixbochs/struc/struc_test.go')
-rw-r--r-- | vendor/github.com/lunixbochs/struc/struc_test.go | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/vendor/github.com/lunixbochs/struc/struc_test.go b/vendor/github.com/lunixbochs/struc/struc_test.go index 939c3e3..4b50707 100644 --- a/vendor/github.com/lunixbochs/struc/struc_test.go +++ b/vendor/github.com/lunixbochs/struc/struc_test.go @@ -55,6 +55,8 @@ type Example struct { NestedSize int `struc:"sizeof=NestedA"` // 00 00 00 02 NestedA []Nested // [00 00 00 03, 00 00 00 04] + Skip int `struc:"skip"` + CustomTypeSize Int3 `struc:"sizeof=CustomTypeSizeArr"` // 00 00 00 04 CustomTypeSizeArr []byte // "ABCD" } @@ -71,6 +73,7 @@ var reference = &Example{ 4, []byte("5678"), Nested{1}, &Nested{2}, &five, 6, []Nested{{3}, {4}, {5}, {6}, {7}, {8}}, + 0, Int3(4), []byte("ABCD"), } |