pike.git / lib / modules / testsuite.in

version» Context lines:

pike.git/lib/modules/testsuite.in:656:   test_equal( o("x --name=foo"/" ",([]))->name , "foo" )   test_equal( o("x -n=foo"/" ",([]))->name , "foo" )   test_equal( o("x -n foo"/" ",([]))->name , "foo" )   test_equal( (mapping)o("x -dvn foo xor"/" ",([])), ([ "debug":1, "verbose":1, "name":"foo", "i":42, Arg.REST : ({ "xor" }) ]) )   test_equal( o(({"x"}),(["VERBOSE":"1"]))->verbose, "1" )   test_equal( (mapping)o("x --verbose=5"/" ",([])), ([ "name":"Donald", "i":42, Arg.REST : ({ "--verbose=5" }) ]) )   test_equal( o("x -v florp"/" ")[Arg.REST], ({ "florp" }) )   test_equal( o("x -v -v"/" ",([]))->verbose , 2 )   test_equal( o("x"/" ")->i, 42 )   test_equal( o("x -i 7"/" ")->i, 7 ) + test_equal( o("/a/b/c -v"/" ")[Arg.PATH], "/a/b/c" ) + test_equal( o("/a/b/c -v"/" ")[Arg.APP], "c")      test_do(add_constant("o"))         dnl - Array      test_equal(Array.diff(({ 0, 1, 2, 3, 4, 5, 6, 7, 8, 9 }),    ({ 6, 7, 8, 9, 3, 4, 5, 1, 2, 0 })),    ({ ({ ({ 0, 1, 2, 3, 4, 5 }),    ({ 6, 7, 8, 9 }), ({}) }),