Skip to content

Commit

Permalink
Fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
SounD120 committed Jun 25, 2020
1 parent 49c90c8 commit b3989fe
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions test/extension/android/androidPlatform.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -414,11 +414,11 @@ suite("androidPlatform", function () {

let mockProjectRoot = path.join(__dirname, "..", "..", "..", "test", "resources", "auxiliaryFiles", "templateProject", "win");
mockPlatform("win32");
testPaths(String.raw`"C:\Android\android sdk\"`, mockProjectRoot);
testPaths(String.raw`"C:\Android\android sdk\platform-tools\adb"`, mockProjectRoot);

mockProjectRoot = path.join(__dirname, "..", "..", "..", "test", "resources", "auxiliaryFiles", "templateProject", "others");
mockPlatform("darwin");
testPaths(String.raw`"/Volumes/Macintosh HD/Users/foo/Library/Android/sdk/platform-tools"`, mockProjectRoot);
testPaths(String.raw`"/Volumes/Macintosh HD/Users/foo/Library/Android/sdk/platform-tools/adb"`, mockProjectRoot);
});
});
});
Expand Down
Original file line number Diff line number Diff line change
@@ -1 +1 @@
sdk.dir=C\:\\Android\\android sdk\\
sdk.dir=C\:\\Android\\android sdk

0 comments on commit b3989fe

Please sign in to comment.