mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/AbuseFilter.git
synced 2024-11-25 06:26:03 +00:00
447d434e2a
Add some parser tests, improve existing ones, and add missing @covers. Bug: T201193 Change-Id: I9c0d2d83560baa4a3e1d4465b7919a48c4e26ac1
16 lines
416 B
Raku
16 lines
416 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 & l !== false & l !== null & false == l & null == l & false !== l & null !== l
|