Browse code

Fix wrong assertion in volume/service package

This last assertion shouldn't be there, those cases should be handled
by the for/switch above.

Signed-off-by: Vincent Demeester <vincent@sbr.pm>

Vincent Demeester authored on 2018/06/06 01:51:17
Showing 1 changed files
... ...
@@ -63,5 +63,4 @@ func TestLocalVolumeSize(t *testing.T) {
63 63
 			t.Fatalf("got unexpected volume: %+v", v)
64 64
 		}
65 65
 	}
66
-	assert.Assert(t, is.Equal(ls[1].UsageData.Size, int64(len(data[:1]))))
67 66
 }