Skip to content

Commit a425a1a

Browse files
committed
test: Add a hint message on boolean comparison
Signed-off-by: Joas Schilling <coding@schilljs.com>
1 parent b95a165 commit a425a1a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/lib/Files/Storage/Storage.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -557,7 +557,7 @@ public function testCopyOverWriteDirectory(): void {
557557

558558
$this->instance->copy('source', 'target');
559559

560-
$this->assertFalse($this->instance->file_exists('target/test2.txt'));
560+
$this->assertFalse($this->instance->file_exists('target/test2.txt'), 'File target/test2.txt should no longer exist, but does');
561561
$this->assertEquals('foo', $this->instance->file_get_contents('target/test1.txt'));
562562
}
563563

0 commit comments

Comments
 (0)