Skip to content

Commit a3c63a4

Browse files
committed
Use assertNull instead of assertSame to compare with null
Bug: T244279 Change-Id: I6192c9965e69b3216245bba27468a2d6f29073c1
1 parent 41fbce2 commit a3c63a4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/CdbTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -156,7 +156,7 @@ public function testReadWrite() {
156156
*/
157157
public function testEmpty() {
158158
$w = new Writer\PHP( $this->phpCdbFile );
159-
$this->assertSame( null, $w->close() );
159+
$this->assertNull( $w->close() );
160160
}
161161

162162
/**

0 commit comments

Comments
 (0)