aboutsummaryrefslogtreecommitdiffhomepage
path: root/internal/pkg/ir_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'internal/pkg/ir_test.go')
-rw-r--r--internal/pkg/ir_test.go3
1 files changed, 1 insertions, 2 deletions
diff --git a/internal/pkg/ir_test.go b/internal/pkg/ir_test.go
index 963cdc04..312474bc 100644
--- a/internal/pkg/ir_test.go
+++ b/internal/pkg/ir_test.go
@@ -4,7 +4,6 @@ import (
"bytes"
"io"
"io/fs"
- "math"
"reflect"
"testing"
@@ -154,7 +153,7 @@ func TestRevision(t *testing.T) {
p := buf.Bytes()
p[8] = 0xfd
- wantErr := pkg.RevisionError{math.MaxUint64 - 2, math.MaxUint64}
+ wantErr := pkg.RevisionError{0xfd, 0}
if _, err := c.NewDecoder(
bytes.NewReader(p),
).Decode(); !reflect.DeepEqual(err, wantErr) {