pike.git / src / testsuite.in

version» Context lines:

pike.git/src/testsuite.in:740:    sprintf("%O", typeof(lambda(string s){    return Charset.decoder("utf-8")->feed(s)->drain();    }))   ]], [[ "function(string : string)" ]])      // Test implicit lambda.   test_eq([[    `()(){ return 1; }   ]], 1)    + test_equal([[ +  lambda(array a, function f) { return f(@a); } +  (({ 0, 1, 2, 3 })){ return __ARGS__; } + ]], ({ 0, 1, 2, 3})) +    // Argument checking      // Test new_check_call.   test_any([[    constant foo = 5;       // Test that it survives a F_ARG_LIST with CAR == CDR.    return foo%foo;   ]], 0)