mediawiki-extensions-AbuseF.../tests/parserTests/array-comparisons.t

15 lines
337 B
Perl
Raw Normal View History

a := [1, 2, 3];
b := [1, 2, 3];
c := [2, 3, 4];
d := [1, 2, 3, 4];
e := ['1', '2', '3'];
f := [[['1']]];
g := [[[1]]];
h := [[1, 2], 3];
i := [['1', 2], '3'];
j := [1];
k := ['1'];
l := [];
a == b & a === b & a != c & b != d & a == e & a !== e & f == g & f !== g & h == i & h !== i & e != i & j != 1 & k != '1' & l == false & l == null