Skip to content

Commit

Permalink
added tests for processFile function
Browse files Browse the repository at this point in the history
Signed-off-by: satyazzz123 <[email protected]>
  • Loading branch information
satyazzz123 committed Dec 18, 2023
1 parent 94fcf8d commit 418c5ab
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions filesystem/processor_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@

import (
"testing"
"github.com/stretchr/testify/assert"


)

Expand Down Expand Up @@ -80,7 +80,9 @@
err := processor.processFile(source, destination)

// Assert the result
assert.NoError(t, err)
if err != nil {
t.Errorf("Unexpected error during processing: %v", err)
}
})
}

0 comments on commit 418c5ab

Please sign in to comment.