Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/lookup-server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'server/vendor/pimple/pimple/ext/pimple/tests/011.phpt')
-rw-r--r--server/vendor/pimple/pimple/ext/pimple/tests/011.phpt19
1 files changed, 0 insertions, 19 deletions
diff --git a/server/vendor/pimple/pimple/ext/pimple/tests/011.phpt b/server/vendor/pimple/pimple/ext/pimple/tests/011.phpt
deleted file mode 100644
index 6682ab8..0000000
--- a/server/vendor/pimple/pimple/ext/pimple/tests/011.phpt
+++ /dev/null
@@ -1,19 +0,0 @@
---TEST--
-Test service callback throwing an exception
---SKIPIF--
-<?php if (!extension_loaded("pimple")) print "skip"; ?>
---FILE--
-<?php
-class CallBackException extends RuntimeException { }
-
-$p = new Pimple\Container();
-$p['foo'] = function () { throw new CallBackException; };
-try {
- echo $p['foo'] . "\n";
- echo "should not come here";
-} catch (CallBackException $e) {
- echo "all right!";
-}
-?>
---EXPECTF--
-all right! \ No newline at end of file