Skip to content

Wrote 2 test cases, modified writeAll function to stop unwanted file …#3696

Open
ankitkumarrain wants to merge 2 commits intotypelevel:mainfrom
ankitkumarrain:WriteAll-test1
Open

Wrote 2 test cases, modified writeAll function to stop unwanted file …#3696
ankitkumarrain wants to merge 2 commits intotypelevel:mainfrom
ankitkumarrain:WriteAll-test1

Conversation

@ankitkumarrain
Copy link

@ankitkumarrain ankitkumarrain commented Mar 13, 2026

Bug Number in issue section - 3667

Write all function in the main(Files.Scala) used stream.resource (writeCursor(...)) which opens and create the during resource aquisation, before any chunk are pulled from the input stream. I added two test cases 👍

  1. Empty stream does not create file.
  2. Error stream does not create file .

@ankitkumarrain ankitkumarrain changed the title Wrote 2 test cases, modified writeAll function to stop inwanted file … Wrote 2 test cases, modified writeAll function to stop unwanted file … Mar 13, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant