mediawiki-extensions-AbuseF.../tests/parserTests/array-comparisons.t
Daimona Eaytoy c75bc35f7d Rename lists to arrays
Arrays were introduced with the name "lists". While it **may** look
user-friendlier and so on, it actually uses a wrong name: lists are
different from arrays. I ran a grep and I should've replaced
every occurrence, plus everything seems to work, however a double check
wouldn't be bad.

Change-Id: I6a858f02f5dd9250ba7e1abf9c6422fd98758c9e
2018-06-26 14:42:23 +02:00

15 lines
337 B
Raku

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