pike.git/
src/
testsuite.in
Branch:
Tag:
Non-build tags
All tags
No tags
2015-05-15
2015-05-15 12:58:37 by Henrik Grubbström (Grubba) <grubba@grubba.org>
46e3546a1257a67edc13831724a8d2d8bcee6e01 (
3
lines) (+
2
/-
1
)
[
Show
|
Annotate
]
Branch:
8.1
Testsuite: Hide a warning.
8547:
test_eq((<'f','o','o'>)['o'],1) test_eq((<'f','o','o'>)['f'],1) test_eq((<'f','o','o'>)[random(0)+'b'],0)
-
test_eq((<'f','o','o'>)[-1],0)
+
test_eq((<'f','o','o'>)[
[int](mixed)
-1],0)
test_eq([[class Z { mixed `->(mixed x) { return this_object()[x]; } int foo() { return 1; }}()->foo()]],1)