Changeset 21154
- Timestamp:
- 07/02/08 00:37:50 (5 months ago)
- Files:
-
- 1 modified
-
t/spec/S29-str/index.t (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
t/spec/S29-str/index.t
r21153 r21154 4 4 # L<S29/Str/"=item index"> 5 5 6 plan 31; 6 plan 33; 7 8 # Type of return value 9 isa_ok('abc'.index('b'), StrPos); 10 isa_ok('abc'.index('d'), StrPos); 7 11 8 12 # Simple - with just a single char 9 10 13 11 14 is(index("Hello World", "H"), 0, "One char, at beginning");
