Skip to content
This repository was archived by the owner on Feb 25, 2025. It is now read-only.

Commit 505fd6c

Browse files
committed
enhance test
1 parent 891ee6b commit 505fd6c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/web_ui/test/window_test.dart

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -315,14 +315,14 @@ void testMain() {
315315
const JSONMethodCodec().encodeMethodCall(const MethodCall(
316316
'routeInformationUpdated',
317317
<String, dynamic>{
318-
'uri': 'http://myhostname.com/baz',
318+
'uri': 'http://myhostname.com/baz?abc=def#fragment',
319319
},
320320
)),
321321
(_) { callback.complete(); },
322322
);
323323
await callback.future;
324324
expect(window.browserHistory, isA<MultiEntriesBrowserHistory>());
325-
expect(window.browserHistory.urlStrategy!.getPath(), '/baz');
325+
expect(window.browserHistory.urlStrategy!.getPath(), '/baz?abc=def#fragment');
326326
});
327327

328328
test('can replace in MultiEntriesBrowserHistory',

0 commit comments

Comments
 (0)