Skip to content

Commit f9cd243

Browse files
srujzsCommit Queue
authored andcommitted
Put expected value first in importModule tests
Change-Id: I1e1cb720c6bcc6991ab10def235dc3b97977c6c7 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/373402 Commit-Queue: Lasse Nielsen <[email protected]> Reviewed-by: Lasse Nielsen <[email protected]> Auto-Submit: Srujan Gaddam <[email protected]>
1 parent 37b6a8c commit f9cd243

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

tests/lib/js/static_interop_test/import/import_test.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,6 @@ void main() {
1717
'/root_dart/tests/lib/js/static_interop_test/import/module.mjs'
1818
.toJS)
1919
.toDart);
20-
Expect.equals(module.testModuleFunction(), 'success');
20+
Expect.equals('success', module.testModuleFunction());
2121
});
2222
}

tests/lib/js/static_interop_test/import/import_trustedscripturl_test.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,6 @@ void main() {
4141
.createScriptURL(
4242
'/root_dart/tests/lib/js/static_interop_test/import/module.mjs');
4343
final module = Module(await importModule(trustedScriptURL).toDart);
44-
Expect.equals(module.testModuleFunction(), 'success');
44+
Expect.equals('success', module.testModuleFunction());
4545
});
4646
}

0 commit comments

Comments
 (0)