Skip to content

Commit 1e2143c

Browse files
committed
lightbox test [nfc]: Tighten up checkPositions doc
In particular "A helper to" can be left out; and the fact that the two positions can be expected to differ can be seen from the function's call sites, some of which have them differing.
1 parent 8f018d4 commit 1e2143c

File tree

1 file changed

+2
-5
lines changed

1 file changed

+2
-5
lines changed

test/widgets/lightbox_test.dart

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -224,11 +224,8 @@ void main() {
224224
FakeVideoPlayerPlatform.registerWith();
225225
final platform = FakeVideoPlayerPlatform.instance;
226226

227-
// A helper to verify that expected positions matches the actual
228-
// positions of Slider, current position indicator label and the
229-
// video controller position. Where the video controller position
230-
// can differ from Slider and the position indicator label, hence the
231-
// need for two different expected position inputs (slider & video).
227+
/// Check the slider and label show position [slider],
228+
/// and the actual position of the video controller is [video].
232229
void checkPositions(WidgetTester tester, {
233230
required Duration slider,
234231
required Duration video,

0 commit comments

Comments
 (0)