diff options
| author | Robert Nicholson <nicholsr@php.net> | 2007-11-01 08:42:49 +0000 |
|---|---|---|
| committer | Robert Nicholson <nicholsr@php.net> | 2007-11-01 08:42:49 +0000 |
| commit | a174f1331d08e8335f7ac87f7bc6e15529d373ed (patch) | |
| tree | 86974832a8eb06b71a29a093cf74e27999f2cd77 | |
| parent | eb5bd09cff364be2426b4a8785c3e703a48abeb8 (diff) | |
| download | php-git-a174f1331d08e8335f7ac87f7bc6e15529d373ed.tar.gz | |
update min_error and max_error testcases to take into account bug fix for bug#43125
| -rw-r--r-- | ext/standard/tests/.project | 11 | ||||
| -rw-r--r-- | ext/standard/tests/array/max_error.phpt | 4 | ||||
| -rw-r--r-- | ext/standard/tests/array/min_error.phpt | 4 |
3 files changed, 15 insertions, 4 deletions
diff --git a/ext/standard/tests/.project b/ext/standard/tests/.project new file mode 100644 index 0000000000..93222c29f4 --- /dev/null +++ b/ext/standard/tests/.project @@ -0,0 +1,11 @@ +<?xml version="1.0" encoding="UTF-8"?> +<projectDescription> + <name>php5.3.ext.standard.tests</name> + <comment></comment> + <projects> + </projects> + <buildSpec> + </buildSpec> + <natures> + </natures> +</projectDescription> diff --git a/ext/standard/tests/array/max_error.phpt b/ext/standard/tests/array/max_error.phpt index 7e8b09bfcb..cbc36f4946 100644 --- a/ext/standard/tests/array/max_error.phpt +++ b/ext/standard/tests/array/max_error.phpt @@ -20,13 +20,13 @@ var_dump(max(new stdclass)); *** Testing Error Conditions *** -Warning: max(): At%seast one %s on line %d +Warning: max(): At least one %s on line %d NULL Warning: Wrong parameter count for max() in %s on line %d NULL -Warning: max(): Array must contain at%seast one element in %s on line %d +Warning: max(): Array must contain at least one element in %s on line %d bool(false) Warning: Wrong parameter count for max() in %s on line %d diff --git a/ext/standard/tests/array/min_error.phpt b/ext/standard/tests/array/min_error.phpt index 4bd46552c9..f39516c686 100644 --- a/ext/standard/tests/array/min_error.phpt +++ b/ext/standard/tests/array/min_error.phpt @@ -20,13 +20,13 @@ var_dump(min(new stdclass)); *** Testing Error Conditions *** -Warning: min(): At%seast one %s on line %d +Warning: min(): At least one %s on line %d NULL Warning: Wrong parameter count for min() in %s on line %d NULL -Warning: min(): Array must contain at%seast one element in %s on line %d +Warning: min(): Array must contain at least one element in %s on line %d bool(false) Warning: Wrong parameter count for min() in %s on line %d |
