aboutsummaryrefslogtreecommitdiff
path: root/hash/hash_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'hash/hash_test.go')
-rw-r--r--hash/hash_test.go8
1 files changed, 4 insertions, 4 deletions
diff --git a/hash/hash_test.go b/hash/hash_test.go
index da3a4a6..66eca95 100644
--- a/hash/hash_test.go
+++ b/hash/hash_test.go
@@ -16,11 +16,11 @@ func TestOpen(t *testing.T) {
if err := binary.Read(fd, binary.BigEndian, &hdr); err != nil {
t.Fatal(err)
}
- if hdr.Magic != Magic {
- t.Errorf("got %x, want %x", hdr.Magic, Magic)
+ if hdr.Magic != magic {
+ t.Errorf("got %x, want %x", hdr.Magic, magic)
}
- if hdr.Version != Version {
- t.Errorf("got %x, want %x", hdr.Version, Version)
+ if hdr.Version != version {
+ t.Errorf("got %x, want %x", hdr.Version, version)
}
t.Logf("%+v", hdr)
}