Skip to content

Commit 55ecd46

Browse files
committed
update test for warning format
1 parent 400e4ee commit 55ecd46

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

ext/standard/tests/file/fsync.phpt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ $file_path = __DIR__;
4646
$filename = "$file_path/fsync_basic.tmp";
4747
unlink($filename);
4848
?>
49-
--EXPECT--
49+
--EXPECTF--
5050
*** Testing fsync(): writing to a file and reading the contents ***
5151
int(63)
5252
bool(true)
@@ -58,7 +58,7 @@ third line of stringint(63)
5858
bool(true)
5959

6060
*** Testing fsync(): for non-file stream ***
61-
Warning: fsync(): Can't fsync this stream!
61+
Warning: fsync(): Can't fsync this stream! in %s on line %d
6262
bool(false)
6363

6464
*** Done ***

0 commit comments

Comments
 (0)