pike.git/
src/
testsuite.in
Branch:
Tag:
Non-build tags
All tags
No tags
1999-06-15
1999-06-15 18:54:35 by Mirar (Pontus Hagland) <pike@sort.mirar.org>
c5ad620274c198bea033d263351bae92d28e7b42 (
5
lines) (+
4
/-
1
)
[
Show
|
Annotate
]
Branch:
7.9
new test for array_sscanf; it hangs my pike
Rev: src/testsuite.in:1.175
1:
-
stest_true([["$Id: testsuite.in,v 1.
174
1999/06/
03
06
:
10
:
02
hubbe
Exp $"]])
+
stest_true([["$Id: testsuite.in,v 1.
175
1999/06/
15
18
:
54
:
35
mirar
Exp $"]])
cond([[all_constants()->_verify_internals]], [[ test_do(_verify_internals())
1235:
test_equal([[array_sscanf("1 2 3 4 5 6 7 8 9","%d %d %d %d %d %d %d %d %s")]],[[({1,2,3,4,5,6,7,8,"9"})]]) test_equal([[array_sscanf("abc","%{%c%}")]],[[ ({ ({ ({'a'}), ({'b'}), ({'c'}) }) }) ]])
+
test_true([[array_sscanf("(02323) 23455 344","%{%*[^0-9]%[0-9]%}")]])
+
// Basics test_true(1) test_true("")