File tree Expand file tree Collapse file tree 1 file changed +3
-4
lines changed
Expand file tree Collapse file tree 1 file changed +3
-4
lines changed Original file line number Diff line number Diff line change @@ -236,7 +236,7 @@ public function testPositiveIndexError($i): void
236236 $ this ->expectExceptionMessageMatches ('/Index \d+ is out of range/ ' );
237237
238238 // When
239- $ slice = $ arrayView [$ i ];
239+ $ number = $ arrayView [$ i ];
240240 }
241241
242242 public static function dataProviderForIndexesLargerThanTwo (): array
@@ -267,7 +267,7 @@ public function testNegativeIndexError($i): void
267267 $ this ->expectExceptionMessageMatches ('/Index -\d+ is out of range/ ' );
268268
269269 // When
270- $ slice = $ arrayView [$ i ];
270+ $ number = $ arrayView [$ i ];
271271 }
272272
273273 public static function dataProviderForIndexesSmallerThanThanNegativeThree (): array
@@ -297,8 +297,7 @@ public function testNonIntegerIndexError($i): void
297297 $ this ->expectException (KeyError::class);
298298
299299 // When
300- $ slice = $ arrayView [$ i ];
301- var_dump ($ slice );
300+ $ number = $ arrayView [$ i ];
302301 }
303302
304303 public static function dataProviderForNonIntegerIndexes (): array
You can’t perform that action at this time.
0 commit comments