Build/Test Tools: Utilise assertFileExists() and assertFileNotExists() in more places.

See #38716


git-svn-id: https://develop.svn.wordpress.org/trunk@39173 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
John Blackbourn
2016-11-08 23:49:11 +00:00
parent 52a834a6d8
commit 5ab2a22a38
7 changed files with 14 additions and 14 deletions

View File

@@ -29,6 +29,6 @@ class Tests_Admin_IncludesUpdateCore extends WP_UnitTestCase {
* @param string $file File name.
*/
public function test_new_files_are_not_in_old_files_array_compiled( $file ) {
$this->assertFalse( file_exists( dirname( ABSPATH ) . '/build/' . $file ) );
$this->assertFileNotExists( dirname( ABSPATH ) . '/build/' . $file );
}
}