pike.git / src / testsuite.in

version» Context lines:

pike.git/src/testsuite.in:1: - test_true([["$Id: testsuite.in,v 1.603 2003/02/13 18:21:56 mast Exp $"]]); + test_true([["$Id: testsuite.in,v 1.604 2003/02/19 00:52:33 marcus Exp $"]]);      // This triggered a bug only if run sufficiently early.   test_compile_any([[#pike 7.2]])      cond([[all_constants()->_verify_internals]],   [[    test_do(_verify_internals())   ]]);   test_eq(1e1,10.0);   test_eq(1E1,10.0);
pike.git/src/testsuite.in:5382:   test_equal([[ array_sscanf("02 00 DC 00 0B","%{%x%*[\0-/:-@]%}")[0] ]],    [[ ({ ({2}), ({0}), ({220}),({0}), ({11}) }) ]])      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_equal([[ array_sscanf("\x304b\x3066\x3044\x308a\x3087\x3046\x308a", "%[^\x3042\x3044\x3046\x3048\x304a]") ]], +  [[ "\x304b\x3066" ]]) +  +    test_any([[   class Bar {    string sum = "";    void bar(string s) {    sum += s;    }    string foo()    {    foreach(({ "foo ", "bar ", "baz " }), string s) {    sscanf(s, "%*[\t ]%[^ \t]", s);