From: Michael Wallner Date: Fri, 7 Jan 2022 20:06:50 +0000 (+0100) Subject: tests: resource X-Git-Tag: v0.1.0~42 X-Git-Url: https://git.m6w6.name/?a=commitdiff_plain;h=2d921cfa4ac337e8e11a28c1db20e31d4fa4b6ae;p=awesomized%2Fext-ion tests: resource --- diff --git a/tests/serialize/resource.phpt b/tests/serialize/resource.phpt new file mode 100644 index 0000000..437f884 --- /dev/null +++ b/tests/serialize/resource.phpt @@ -0,0 +1,18 @@ +--TEST-- +ion\serialize/resource +--EXTENSIONS-- +ion +--FILE-- +TEST +getMessage()); +} +?> +DONE +--EXPECTF-- +TEST +caught InvalidArgumentException: Failed to serialize value of type resource +DONE