inomap: fix TestSpill bit check
Wrong bit operator was used.
This commit is contained in:
parent
8c9c68fb72
commit
feaeee90e2
@ -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 {
|
||||
|
Loading…
Reference in New Issue
Block a user