Skip to content

Commit f9e8852

Browse files
committed
Fix test on Windows
Forgot to change Platform.executable to Platform.resolvedExecutable in one place. [email protected] BUG= Review URL: https://codereview.chromium.org//1181583004.
1 parent c05c8c6 commit f9e8852

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/standalone/io/platform_test.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ test() {
3838
// running off a location referred to by a drive letter. If a UNC
3939
// location is used or long names ("\\?\" prefix) is used this
4040
// needs to be fixed.
41-
Expect.equals(Platform.executable.substring(1, 3), ':\\');
41+
Expect.equals(Platform.resolvedExecutable.substring(1, 3), ':\\');
4242
}
4343
// Move directory to be sure script is correct.
4444
var oldDir = Directory.current;

0 commit comments

Comments
 (0)