diff options
| author | Léo Lam <leo@leolam.fr> | 2021-01-27 13:12:05 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-01-27 13:12:05 +0100 |
| commit | bc14e4a0f064314abb9f43c1e4292878dd63d950 (patch) | |
| tree | 186e9ef452b00dfb592ef75579b652ed085f40ad /Source/UnitTests/Core/MMIOTest.cpp | |
| parent | 093978b2e0c1c6a438cd1ce8fecf62300ec6bed3 (diff) | |
| parent | 83f912b58af2d39265184aa5ca4c30050757fe9e (diff) | |
Merge pull request #9463 from Dentomologist/fix_CreateTempDir_calls
UnitTests: Add setup error checking
Diffstat (limited to 'Source/UnitTests/Core/MMIOTest.cpp')
| -rw-r--r-- | Source/UnitTests/Core/MMIOTest.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Source/UnitTests/Core/MMIOTest.cpp b/Source/UnitTests/Core/MMIOTest.cpp index 04bf850a96..56433476b5 100644 --- a/Source/UnitTests/Core/MMIOTest.cpp +++ b/Source/UnitTests/Core/MMIOTest.cpp @@ -34,6 +34,7 @@ TEST(UniqueID, UniqueEnough) TEST(IsMMIOAddress, SpecialAddresses) { const std::string profile_path = File::CreateTempDir(); + ASSERT_FALSE(profile_path.empty()); UICommon::SetUserDirectory(profile_path); Config::Init(); SConfig::Init(); |
