diff options
Diffstat (limited to 'hst')
| -rw-r--r-- | hst/enablement_test.go | 4 | ||||
| -rw-r--r-- | hst/fs_test.go | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/hst/enablement_test.go b/hst/enablement_test.go index ac8810f3..75d8d946 100644 --- a/hst/enablement_test.go +++ b/hst/enablement_test.go @@ -80,7 +80,7 @@ func TestEnablements(t *testing.T) { if got, err := json.Marshal(struct { Value *hst.Enablements `json:"value"` - Magic int `json:"magic"` + Magic uint64 `json:"magic"` }{tc.e, syscall.MS_MGC_VAL}); err != nil { t.Fatalf("Marshal: error = %v", err) } else if string(got) != tc.sData { @@ -108,7 +108,7 @@ func TestEnablements(t *testing.T) { { got := *(new(struct { Value *hst.Enablements `json:"value"` - Magic int `json:"magic"` + Magic uint64 `json:"magic"` })) if err := json.Unmarshal([]byte(tc.sData), &got); err != nil { t.Fatalf("Unmarshal: error = %v", err) diff --git a/hst/fs_test.go b/hst/fs_test.go index 10e075be..4b079096 100644 --- a/hst/fs_test.go +++ b/hst/fs_test.go @@ -241,7 +241,7 @@ func (s stubFS) String() string { return "<invalid " + s.typeName + ">" type sCheck struct { FS hst.FilesystemConfigJSON `json:"fs"` - Magic int `json:"magic"` + Magic uint64 `json:"magic"` } type fsTestCase struct { |
