Skip to content

Commit

Permalink
Fixed bug #61631 mbstring mail related tests fail
Browse files Browse the repository at this point in the history
  • Loading branch information
weltling committed Apr 10, 2012
1 parent fbbad87 commit 1a0c9ec
Show file tree
Hide file tree
Showing 8 changed files with 16 additions and 16 deletions.
4 changes: 2 additions & 2 deletions ext/mbstring/tests/bug52861.phpt
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
Bug #52681 (mb_send_mail() appends an extra MIME-Version header)
--SKIPIF--
<?php
if(substr(PHP_OS, 0, 3) == "WIN") {
die("skip Won't run on Windows");
if (substr(PHP_OS, 0, 3) == 'WIN') {
die('skip.. Not valid for Windows');
}
if (!function_exists("mb_send_mail") || !mb_language("neutral")) {
die("skip mb_send_mail() not available");
Expand Down
4 changes: 2 additions & 2 deletions ext/mbstring/tests/mb_send_mail01.phpt
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
mb_send_mail() test 1 (lang=neutral)
--SKIPIF--
<?php
if(substr(PHP_OS, 0, 3) == "WIN") {
die("skip Won't run on Windows");
if (substr(PHP_OS, 0, 3) == 'WIN') {
die('skip.. Not valid for Windows');
}
if (!function_exists("mb_send_mail") || !mb_language("neutral")) {
die("skip mb_send_mail() not available");
Expand Down
4 changes: 2 additions & 2 deletions ext/mbstring/tests/mb_send_mail02.phpt
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
mb_send_mail() test 2 (lang=Japanese)
--SKIPIF--
<?php
if(substr(PHP_OS, 0, 3) == "WIN") {
die("skip Won't run on Windows");
if (substr(PHP_OS, 0, 3) == 'WIN') {
die('skip.. Not valid for Windows');
}
if (!function_exists("mb_send_mail") || !mb_language("japanese")) {
die("skip mb_send_mail() not available");
Expand Down
4 changes: 2 additions & 2 deletions ext/mbstring/tests/mb_send_mail03.phpt
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
mb_send_mail() test 3 (lang=English)
--SKIPIF--
<?php
if(substr(PHP_OS, 0, 3) == "WIN") {
die("skip Won't run on Windows");
if (substr(PHP_OS, 0, 3) == 'WIN') {
die('skip.. Not valid for Windows');
}
if (!function_exists("mb_send_mail") || !mb_language("english")) {
die("skip mb_send_mail() not available");
Expand Down
4 changes: 2 additions & 2 deletions ext/mbstring/tests/mb_send_mail04.phpt
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
mb_send_mail() test 4 (lang=German)
--SKIPIF--
<?php
if(substr(PHP_OS, 0, 3) == "WIN") {
die("skip Won't run on Windows");
if (substr(PHP_OS, 0, 3) == 'WIN') {
die('skip.. Not valid for Windows');
}
if (!function_exists("mb_send_mail") || !mb_language("german")) {
die("skip mb_send_mail() not available");
Expand Down
4 changes: 2 additions & 2 deletions ext/mbstring/tests/mb_send_mail05.phpt
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
mb_send_mail() test 5 (lang=Simplified Chinese)
--SKIPIF--
<?php
if(substr(PHP_OS, 0, 3) == "WIN") {
die("skip Won't run on Windows");
if (substr(PHP_OS, 0, 3) == 'WIN') {
die('skip.. Not valid for Windows');
}
if (!function_exists("mb_send_mail") || !mb_language("Simplified Chinese")) {
die("skip mb_send_mail() not available");
Expand Down
4 changes: 2 additions & 2 deletions ext/mbstring/tests/mb_send_mail06.phpt
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
mb_send_mail() test 6 (lang=Traditional Chinese)
--SKIPIF--
<?php
if(substr(PHP_OS, 0, 3) == "WIN") {
die("skip Won't run on Windows");
if (substr(PHP_OS, 0, 3) == 'WIN') {
die('skip.. Not valid for Windows');
}
if (!function_exists("mb_send_mail") || !mb_language("Traditional Chinese")) {
die("skip mb_send_mail() not available");
Expand Down
4 changes: 2 additions & 2 deletions ext/mbstring/tests/mb_send_mail07.phpt
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
mb_send_mail() test 7 (lang=Korean)
--SKIPIF--
<?php
if(substr(PHP_OS, 0, 3) == "WIN") {
die("skip Won't run on Windows");
if (substr(PHP_OS, 0, 3) == 'WIN') {
die('skip.. Not valid for Windows');
}
if (!function_exists("mb_send_mail") || !mb_language("Korean")) {
die("skip mb_send_mail() not available");
Expand Down

0 comments on commit 1a0c9ec

Please sign in to comment.