Make WordPress Core


Ignore:
Timestamp:
05/29/2024 12:20:56 PM (12 months ago)
Author:
SergeyBiryukov
Message:

Tests: Use more specific assertions in a few tests.

Follow-up to [121/tests], [915/tests], [34903], [36307], [43548], [44154], [52286], [57337].

See #60705.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/tests/phpunit/tests/l10n/wpTranslationsConvert.php

    r57513 r58235  
    502502        $this->assertNull( $destination->error() );
    503503
    504         $this->assertTrue( filesize( $destination_file ) > 0 );
     504        $this->assertGreaterThan( 0, filesize( $destination_file ) );
    505505
    506506        $destination_read = WP_Translation_File::create( $destination_file, $destination_format );
Note: See TracChangeset for help on using the changeset viewer.