Skip to content

Commit

Permalink
add suggestion from codacy about unlink
Browse files Browse the repository at this point in the history
  • Loading branch information
khelmrich committed Aug 13, 2024
1 parent 65e28b5 commit 81dba91
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/ParquetFileConverterTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ public function testSuccessfulConversion(): void
$converter->convert();
$this->assertEquals(file_get_contents(__DIR__.'/fixtures/expected.json'), file_get_contents('out.json'));
if (0 === strpos(realpath(__DIR__.'/../out.json'), realpath(__DIR__.'/..')) && file_exists(__DIR__.'/../out.json')) {
unlink(__DIR__.'/../out.json');
unlink(realpath(__DIR__.'/../out.json'));
}
}

Expand Down

0 comments on commit 81dba91

Please sign in to comment.