summaryrefslogtreecommitdiff
path: root/internal
diff options
context:
space:
mode:
Diffstat (limited to 'internal')
-rw-r--r--internal/inomap/inomap_test.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/internal/inomap/inomap_test.go b/internal/inomap/inomap_test.go
index 931547e..6fbb4ef 100644
--- a/internal/inomap/inomap_test.go
+++ b/internal/inomap/inomap_test.go
@@ -104,11 +104,11 @@ func TestSpill(t *testing.T) {
var q QIno
q.Ino = maxPassthruIno + 1
out1 := m.Translate(q)
- if out1|spillBit == 0 {
+ if out1&spillBit == 0 {
t.Error("spill bit not set")
}
out2 := m.Translate(q)
- if out2|spillBit == 0 {
+ if out2&spillBit == 0 {
t.Error("spill bit not set")
}
if out1 != out2 {