summaryrefslogtreecommitdiff
path: root/pear/tests/pear_error2.phpt
diff options
context:
space:
mode:
authorGreg Beaver <cellog@php.net>2005-10-20 01:49:42 +0000
committerGreg Beaver <cellog@php.net>2005-10-20 01:49:42 +0000
commit3446a75a36964410413bd57f756120f1868fc463 (patch)
tree6d2a96700b472f931c29b8dc5075130b1935e669 /pear/tests/pear_error2.phpt
parent5bb29235dcf14be317f07d389b5be2f2c5318950 (diff)
downloadphp-git-3446a75a36964410413bd57f756120f1868fc463.tar.gz
remove unused obsolete files from pear CVS
# to run PEAR tests, grab pear-core/tests and use "pear run-tests -rq"
Diffstat (limited to 'pear/tests/pear_error2.phpt')
-rw-r--r--pear/tests/pear_error2.phpt27
1 files changed, 0 insertions, 27 deletions
diff --git a/pear/tests/pear_error2.phpt b/pear/tests/pear_error2.phpt
deleted file mode 100644
index 9dbfa3b22c..0000000000
--- a/pear/tests/pear_error2.phpt
+++ /dev/null
@@ -1,27 +0,0 @@
---TEST--
-PEAR_Error: die mode
---SKIPIF--
-<?php
-if (!getenv('PHP_PEAR_RUNTESTS')) {
- echo 'skip';
-}
-?>
---FILE--
-<?php // -*- C++ -*-
-
-// Test for: PEAR.php
-// Parts tested: - PEAR_Error class
-// - PEAR::isError static method
-// testing PEAR_Error
-
-include_once "PEAR.php";
-
-error_reporting(E_ALL);
-
-print "mode=die: ";
-$err = new PEAR_Error("test error!!\n", -42, PEAR_ERROR_DIE);
-print $err->toString() . "\n";
-
-?>
---EXPECT--
-mode=die: test error!!