summaryrefslogtreecommitdiff
path: root/ext/gd/tests/imagegammacorrect_error2.phpt
diff options
context:
space:
mode:
Diffstat (limited to 'ext/gd/tests/imagegammacorrect_error2.phpt')
-rw-r--r--ext/gd/tests/imagegammacorrect_error2.phpt21
1 files changed, 0 insertions, 21 deletions
diff --git a/ext/gd/tests/imagegammacorrect_error2.phpt b/ext/gd/tests/imagegammacorrect_error2.phpt
deleted file mode 100644
index 013dd67b9a..0000000000
--- a/ext/gd/tests/imagegammacorrect_error2.phpt
+++ /dev/null
@@ -1,21 +0,0 @@
---TEST--
-Testing error with non-Image resource paramenter of imagegammacorrect() of GD library,
---CREDITS--
-Rafael Dohms <rdohms [at] gmail [dot] com>
-#testfest PHPSP on 2009-06-20
---SKIPIF--
-<?php
- if (!extension_loaded("gd")) die("skip GD not present");
-?>
---FILE--
-<?php
-$image = tmpfile();
-try {
- $gamma = imagegammacorrect($image, 1, 5);
-} catch (TypeError $e) {
- echo $e->getMessage(), "\n";
-}
-
-?>
---EXPECT--
-imagegammacorrect(): supplied resource is not a valid Image resource