Skip to content

Commit

Permalink
Ensure reported units are exactly what is expected
Browse files Browse the repository at this point in the history
  • Loading branch information
mcastorina committed Oct 16, 2023
1 parent 52d434d commit c3138ab
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions pkg/sources/filesystem/filesystem_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -143,6 +143,9 @@ func TestEnumerate(t *testing.T) {
for _, unit := range reporter.Units {
assert.Contains(t, units, unit.SourceUnitID())
}
for _, unit := range units {
assert.Contains(t, reporter.Units, sources.CommonSourceUnit{ID: unit})
}
}

func TestChunkUnit(t *testing.T) {
Expand Down

0 comments on commit c3138ab

Please sign in to comment.