Skip to content

Commit

Permalink
Fix wrong assertion in volume/service package
Browse files Browse the repository at this point in the history
This last assertion shouldn't be there, those cases should be handled
by the for/switch above.

Signed-off-by: Vincent Demeester <[email protected]>
  • Loading branch information
vdemeester committed Jun 5, 2018
1 parent ca25df3 commit 04207c2
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion volume/service/service_linux_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -63,5 +63,4 @@ func TestLocalVolumeSize(t *testing.T) {
t.Fatalf("got unexpected volume: %+v", v)
}
}
assert.Assert(t, is.Equal(ls[1].UsageData.Size, int64(len(data[:1]))))
}

0 comments on commit 04207c2

Please sign in to comment.