summaryrefslogtreecommitdiff
path: root/adb/adb_utils_test.cpp
diff options
context:
space:
mode:
authorSpencer Low <CompareAndSwap@gmail.com>2015-08-03 20:43:24 -0700
committerSpencer Low <CompareAndSwap@gmail.com>2015-08-06 18:09:32 -0700
commitcbf26b76c7715969610b75048719f8cec676b656 (patch)
tree6f5fcfe90618d9d6c7e49fd8260e7ad5855cf8ff /adb/adb_utils_test.cpp
parent516d30d5029c101ef32b600d3143513d3ce16933 (diff)
win32: adb_test/libbase_test fixes
- My recent change with -DUNICODE=1 required changing GetProfilesDirectory() to GetProfilesDirectoryA() for the ANSI version of the API. - enh's edit to my previous change deleted a test that used /proc/version, but I think another test was missed. Merge that test into another. Change-Id: Ic748549848e7be922bcbf218d5b0c3fca2a90704 Signed-off-by: Spencer Low <CompareAndSwap@gmail.com>
Diffstat (limited to 'adb/adb_utils_test.cpp')
-rw-r--r--adb/adb_utils_test.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/adb/adb_utils_test.cpp b/adb/adb_utils_test.cpp
index 34b54e79ed..17c8d0a1cd 100644
--- a/adb/adb_utils_test.cpp
+++ b/adb/adb_utils_test.cpp
@@ -48,7 +48,7 @@ TEST(adb_utils, directory_exists) {
DWORD cch = arraysize(profiles_dir);
// On typical Windows 7, returns C:\Users
- ASSERT_TRUE(GetProfilesDirectory(profiles_dir, &cch));
+ ASSERT_TRUE(GetProfilesDirectoryA(profiles_dir, &cch));
ASSERT_TRUE(directory_exists(profiles_dir));