mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/AbuseFilter.git
synced 2024-12-24 11:33:13 +00:00
d07717dd0d
The only exception is mwexamples-comparisons.t which intentionally includes examples with = and == to test the "weak" version of the comparison operator. Bug: T262063 Change-Id: I6f92aadc69489da481a606bfda89617b8efbb261
31 lines
518 B
Raku
31 lines
518 B
Raku
(2 = 2) &
|
|
(2 == 2) &
|
|
(2 === 2) &
|
|
('2' = 2) &
|
|
('2' == 2) &
|
|
('2' !== 2) &
|
|
(['1','2'] = ['1','2']) &
|
|
(['1','2'] == ['1','2']) &
|
|
(['1','2'] === ['1','2']) &
|
|
(['1','2'] != ['2','1']) &
|
|
(['1','2'] = ['1',2]) &
|
|
(['1','2'] == ['1',2]) &
|
|
(['1','2'] !== ['1',2]) &
|
|
(true = 1) &
|
|
(true == 1) &
|
|
(true !== 1) &
|
|
(false != 0) &
|
|
(false = '') &
|
|
(false == '') &
|
|
(false !== '') &
|
|
(false = []) &
|
|
(false == []) &
|
|
(false !== []) &
|
|
(false = null) &
|
|
(false == null) &
|
|
(false !== null) &
|
|
([] = null) &
|
|
([] == null) &
|
|
([] !== null) &
|
|
([] != '')
|