diff options
Diffstat (limited to 'ext/fileinfo/tests')
-rw-r--r-- | ext/fileinfo/tests/bug61173.phpt | 2 | ||||
-rw-r--r-- | ext/fileinfo/tests/bug68398.phpt | 2 | ||||
-rw-r--r-- | ext/fileinfo/tests/bug69320.phpt | 2 | ||||
-rw-r--r-- | ext/fileinfo/tests/finfo_buffer_basic-mb.phpt | 2 | ||||
-rw-r--r-- | ext/fileinfo/tests/finfo_buffer_basic.phpt | 2 | ||||
-rw-r--r-- | ext/fileinfo/tests/finfo_buffer_variation1-mb.phpt | 2 | ||||
-rw-r--r-- | ext/fileinfo/tests/finfo_buffer_variation1.phpt | 2 | ||||
-rw-r--r-- | ext/fileinfo/tests/finfo_file_stream_001.phpt | 2 | ||||
-rw-r--r-- | ext/fileinfo/tests/finfo_open_002.phpt | 2 | ||||
-rw-r--r-- | ext/fileinfo/tests/finfo_phpinfo_basic.phpt | 2 |
10 files changed, 10 insertions, 10 deletions
diff --git a/ext/fileinfo/tests/bug61173.phpt b/ext/fileinfo/tests/bug61173.phpt index 96eb3010e0..9fbf48b2ec 100644 --- a/ext/fileinfo/tests/bug61173.phpt +++ b/ext/fileinfo/tests/bug61173.phpt @@ -13,5 +13,5 @@ try { } catch (TypeError $e) { echo $e->getMessage(), "\n"; } ---EXPECTF-- +--EXPECT-- finfo::finfo() expects at most 2 parameters, 3 given diff --git a/ext/fileinfo/tests/bug68398.phpt b/ext/fileinfo/tests/bug68398.phpt index 78d3b8929f..504df2b042 100644 --- a/ext/fileinfo/tests/bug68398.phpt +++ b/ext/fileinfo/tests/bug68398.phpt @@ -9,7 +9,7 @@ $f = new finfo(FILEINFO_MIME); var_dump($f->file(dirname(__FILE__) . DIRECTORY_SEPARATOR . '68398.zip')); ?> +++DONE+++ ---EXPECTF-- +--EXPECT-- string(31) "application/zip; charset=binary" +++DONE+++ diff --git a/ext/fileinfo/tests/bug69320.phpt b/ext/fileinfo/tests/bug69320.phpt index 4eea7470b8..4078649edf 100644 --- a/ext/fileinfo/tests/bug69320.phpt +++ b/ext/fileinfo/tests/bug69320.phpt @@ -15,6 +15,6 @@ var_dump(finfo_file(finfo_open(FILEINFO_MIME_TYPE), $fname)); $fname = dirname(__FILE__) . DIRECTORY_SEPARATOR . "bug69320.txt"; unlink($fname); ?> ---EXPECTF-- +--EXPECT-- string(10) "text/plain" diff --git a/ext/fileinfo/tests/finfo_buffer_basic-mb.phpt b/ext/fileinfo/tests/finfo_buffer_basic-mb.phpt index e56062a534..8a675ea75a 100644 --- a/ext/fileinfo/tests/finfo_buffer_basic-mb.phpt +++ b/ext/fileinfo/tests/finfo_buffer_basic-mb.phpt @@ -38,7 +38,7 @@ foreach( $options as $option ) { ?> ===DONE=== ---EXPECTF-- +--EXPECT-- *** Testing finfo_buffer() : basic functionality *** string(36) "ASCII text, with no line terminators" string(3) "ELF" diff --git a/ext/fileinfo/tests/finfo_buffer_basic.phpt b/ext/fileinfo/tests/finfo_buffer_basic.phpt index 0c3c641388..e6caa697c4 100644 --- a/ext/fileinfo/tests/finfo_buffer_basic.phpt +++ b/ext/fileinfo/tests/finfo_buffer_basic.phpt @@ -38,7 +38,7 @@ foreach( $options as $option ) { ?> ===DONE=== ---EXPECTF-- +--EXPECT-- *** Testing finfo_buffer() : basic functionality *** string(36) "ASCII text, with no line terminators" string(3) "ELF" diff --git a/ext/fileinfo/tests/finfo_buffer_variation1-mb.phpt b/ext/fileinfo/tests/finfo_buffer_variation1-mb.phpt index 5179fd4497..7dab9e1839 100644 --- a/ext/fileinfo/tests/finfo_buffer_variation1-mb.phpt +++ b/ext/fileinfo/tests/finfo_buffer_variation1-mb.phpt @@ -37,7 +37,7 @@ foreach( $options as $option ) { ?> ===DONE=== ---EXPECTF-- +--EXPECT-- *** Testing finfo_buffer() : variation functionality with oo interface *** string(36) "ASCII text, with no line terminators" string(3) "ELF" diff --git a/ext/fileinfo/tests/finfo_buffer_variation1.phpt b/ext/fileinfo/tests/finfo_buffer_variation1.phpt index 4fdd2be272..1d99986697 100644 --- a/ext/fileinfo/tests/finfo_buffer_variation1.phpt +++ b/ext/fileinfo/tests/finfo_buffer_variation1.phpt @@ -37,7 +37,7 @@ foreach( $options as $option ) { ?> ===DONE=== ---EXPECTF-- +--EXPECT-- *** Testing finfo_buffer() : variation functionality with oo interface *** string(36) "ASCII text, with no line terminators" string(3) "ELF" diff --git a/ext/fileinfo/tests/finfo_file_stream_001.phpt b/ext/fileinfo/tests/finfo_file_stream_001.phpt index 5535259cd8..4a22c5419d 100644 --- a/ext/fileinfo/tests/finfo_file_stream_001.phpt +++ b/ext/fileinfo/tests/finfo_file_stream_001.phpt @@ -20,7 +20,7 @@ var_dump( finfo_file($fp, $png) ); ?> ---EXPECTF-- +--EXPECT-- string(15) "application/zip" string(9) "directory" string(9) "image/png" diff --git a/ext/fileinfo/tests/finfo_open_002.phpt b/ext/fileinfo/tests/finfo_open_002.phpt index cf4809f093..3a3891d72c 100644 --- a/ext/fileinfo/tests/finfo_open_002.phpt +++ b/ext/fileinfo/tests/finfo_open_002.phpt @@ -11,7 +11,7 @@ $x->finfo(); echo "done!\n"; ?> ---EXPECTF-- +--EXPECT-- done! diff --git a/ext/fileinfo/tests/finfo_phpinfo_basic.phpt b/ext/fileinfo/tests/finfo_phpinfo_basic.phpt index 7d1b008d5a..ff65b36b3d 100644 --- a/ext/fileinfo/tests/finfo_phpinfo_basic.phpt +++ b/ext/fileinfo/tests/finfo_phpinfo_basic.phpt @@ -15,7 +15,7 @@ var_dump(preg_match("/fileinfo support => enabled/", $output)); ?> ===DONE=== ---EXPECTF-- +--EXPECT-- *** Testing finfo extension : loading info phpinfo() *** int(1) ===DONE=== |