pike.git/
src/
testsuite.in
Branch:
Tag:
Non-build tags
All tags
No tags
2001-01-14
2001-01-14 20:49:58 by Mirar (Pontus Hagland) <pike@sort.mirar.org>
e45d9a2fca6e06a2ab99c7a0e77e5225d31dae4f (
7
lines) (+
6
/-
1
)
[
Show
|
Annotate
]
Branch:
7.9
added sscanf tests
Rev: src/testsuite.in:1.367
1:
-
test_true([["$Id: testsuite.in,v 1.
366
2001/01/14 20:
35
:
20
mirar Exp $"]]);
+
test_true([["$Id: testsuite.in,v 1.
367
2001/01/14 20:
49
:
58
mirar Exp $"]]);
cond([[all_constants()->_verify_internals]], [[
3606:
test_equal([[ array_sscanf("\51726\30212\66610\30131", "%*[ \t]%s")[0] ]], [[ "\51726\30212\66610\30131" ]])
+
test_equal([[ array_sscanf("hej","%s") ]], [[ ({ "hej" }) ]])
+
test_equal([[ array_sscanf("hej","%s%n") ]], [[ ({ "hej", 3 }) ]])
+
test_eval_error([[ function f=array_sscanf; f("hej","%s% ") ]])
+
test_any([[ class Bar { string sum = "";