diff options
Diffstat (limited to 'ext/spl/tests/SplDoublyLinkedList_offsetGet_empty.phpt')
| -rw-r--r-- | ext/spl/tests/SplDoublyLinkedList_offsetGet_empty.phpt | 26 |
1 files changed, 13 insertions, 13 deletions
diff --git a/ext/spl/tests/SplDoublyLinkedList_offsetGet_empty.phpt b/ext/spl/tests/SplDoublyLinkedList_offsetGet_empty.phpt index 639e35fe0..36c47fef2 100644 --- a/ext/spl/tests/SplDoublyLinkedList_offsetGet_empty.phpt +++ b/ext/spl/tests/SplDoublyLinkedList_offsetGet_empty.phpt @@ -1,14 +1,14 @@ ---TEST--
-SplDoublyLinkedList::offsetGet() with no parameter passed.
---CREDITS--
-PHPNW Test Fest 2009 - Jordan Hatch
---FILE--
-<?php
-
-$array = new SplDoublyLinkedList( );
-
-$get = $array->offsetGet();
-
-?>
---EXPECTF--
+--TEST-- +SplDoublyLinkedList::offsetGet() with no parameter passed. +--CREDITS-- +PHPNW Test Fest 2009 - Jordan Hatch +--FILE-- +<?php + +$array = new SplDoublyLinkedList( ); + +$get = $array->offsetGet(); + +?> +--EXPECTF-- Warning: SplDoublyLinkedList::offsetGet() expects exactly 1 parameter, 0 given in %s on line %d
\ No newline at end of file |
