pike.git
/
src
/
testsuite.in
version
»
Context lines:
10
20
40
80
file
none
3
pike.git/src/testsuite.in:1:
START_MARKER
-
test_true([["$Id: testsuite.in,v 1.
865
2009/
02
/
21
12
:
55
:
26
grubba
Exp $"]]);
+
test_true([["$Id: testsuite.in,v 1.
866
2009/
03
/
11
21:
40
:
54
marcus
Exp $"]]);
// This triggered a bug only if run sufficiently early. test_compile_any([[#pike 7.2]]) test_compile_any([[#pike 7.4]]) test_compile_any([[#pike 7.0]]) test_compile_any([[#pike 0.6]]) cond([[all_constants()->_verify_internals]], [[ test_do(_verify_internals())
pike.git/src/testsuite.in:518:
]]) test_eval_error([[ lambda (mixed a, mixed b, mixed c) {} (({time()}), ({time()}), ({time()})); ([function] set_weak_flag) ("foo"); ]]) test_eval_error([[ lambda (mixed a, mixed b, mixed c) {} (({time()}), ({time()}), ({time()})); ([function] set_weak_flag) (17, "foo"); ]])
+
// Check that write() and error() with one argument are not
+
// incorrectly subjected to sprintf() argument
+
test_compile([[write("%\u2323");]])
+
test_compile([[error("%\u2323");]])
+
// type checks define(test_type_error, [[ test_compile_error([[ $1 x; x=$3; ]]) test_compile_error_any([[ class ErrBa { $1 x() { return $3; } } ]]) test_compile_error_any([[ class ErrBa { $1 x() { $2 a=$3; return a; } } ]]) ]]) test_type_error(int,float,17.23) test_type_error(int,array,({1,2,3}))