r76814 MediaWiki - Code Review archive
Repository:
MediaWiki
Revision:
<
r76813
|
r76814
|
r76815
>
Date:
18:28, 16 November 2010
Author:
aaron
Status:
ok
Tags:
Comment:
Moved /0 prefix tests to valid...it just means "everything"
Modified paths:
/trunk/phase3/maintenance/tests/phpunit/includes/IPTest.php
(modified) (
history
)
Diff
[
purge
]
Index: trunk/phase3/maintenance/tests/phpunit/includes/IPTest.php
—
—
@@ -165,11 +165,13 @@
166
166
'16.17.184.1/24',
167
167
'30.242.52.14/1',
168
168
'10.232.52.13/8',
169
+ '30.242.52.14/0',
169
170
'::e:f:2001/96',
170
171
'::c:f:2001/128',
171
172
'::10:f:2001/70',
172
173
'::fe:f:2001/1',
173
174
'::6d:f:2001/8',
175
+ '::fe:f:2001/0',
174
176
);
175
177
foreach ( $valid as $i ) {
176
178
$this->assertTrue( IP::isValidBlock( $i ), "$i is a valid IP block" );
—
—
@@ -182,14 +184,12 @@
183
185
'116.17.184.5/33',
184
186
'0.17.184.5/130',
185
187
'16.17.184.1/-1',
186
- '30.242.52.14/0',
187
188
'10.232.52.13/*',
188
189
'7.232.52.13/ab',
189
190
'11.232.52.13/',
190
191
'::e:f:2001/129',
191
192
'::c:f:2001/228',
192
193
'::10:f:2001/-1',
193
- '::fe:f:2001/0',
194
194
'::6d:f:2001/*',
195
195
'::86:f:2001/ab',
196
196
'::23:f:2001/',
Status & tagging log
07:39, 24 November 2010
Hashar
(
talk
|
contribs
)
changed the
status
of r76814
[
removed:
new
added:
ok]