let DEV_2 be trunk
[m6w6/ext-http] / tests / header001.phpt
diff --git a/tests/header001.phpt b/tests/header001.phpt
new file mode 100644 (file)
index 0000000..5e3d938
--- /dev/null
@@ -0,0 +1,20 @@
+--TEST--
+header string
+--SKIPIF--
+<?php 
+include "skipif.inc";
+?>
+--FILE--
+<?php
+
+echo "Test\n";
+
+$h = new http\Header("foo", "bar");
+var_dump("Foo: bar" === (string) $h);
+
+?>
+Done
+--EXPECT--
+Test
+bool(true)
+Done