Skip to content

Commit 62c6a0a

Browse files
herndlmondrejmirtes
authored andcommitted
Remove unnecessary test code
1 parent 0b925a9 commit 62c6a0a

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

tests/PHPStan/Analyser/nsrt/list-type.php

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -116,9 +116,6 @@ public function testSetOffsetExplicitlyWithoutGap(array $list): void
116116
assertType('non-empty-list<int>&hasOffsetValue(0, 17)&hasOffsetValue(1, 19)', $list);
117117
$list[0] = 21;
118118
assertType('non-empty-list<int>&hasOffsetValue(0, 21)&hasOffsetValue(1, 19)', $list);
119-
120-
$list[2] = 23;
121-
assertType('non-empty-array<int<0, max>, int>&hasOffsetValue(0, 21)&hasOffsetValue(1, 19)&hasOffsetValue(2, 23)', $list);
122119
}
123120

124121
/** @param list<int> $list */

0 commit comments

Comments
 (0)