pike.git/
src/
testsuite.in
Branch:
Tag:
Non-build tags
All tags
No tags
2000-02-04
2000-02-04 00:50:59 by Fredrik Hübinette (Hubbe) <hubbe@hubbe.net>
0b6c8050d433579ed443340fa972aa4e6ad4a046 (
12
lines) (+
11
/-
1
)
[
Show
|
Annotate
]
Branch:
7.9
mapping bug fixed
Rev: src/mapping.c:1.59
Rev: src/testsuite.in:1.266
1:
-
test_true([["$Id: testsuite.in,v 1.
265
2000/
01
/
27
23
:
07
:
41
hubbe Exp $"]]);
+
test_true([["$Id: testsuite.in,v 1.
266
2000/
02
/
04
00
:
50
:
59
hubbe Exp $"]]);
cond([[all_constants()->_verify_internals]], [[
3842:
test_eq(search(([1:2,3:4,5:6,7:8]),4),3) test_true(zero_type(search(([1:2,3:4,5:6,7:8]),3))) test_eq(search(([1:2,3:4,5:6,7:8]),8),7)
+
test_any([[
+
mapping m=([]);
+
m+=(["x":([])]);
+
m->x->y++;
+
m=([]);
+
m+=(["x":([])]);
+
return m->x->y;
+
]], 0)
+
test_do([[ class C {