diff options
Diffstat (limited to 'Tests/CMakeLib/testDebugger.h')
-rw-r--r-- | Tests/CMakeLib/testDebugger.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Tests/CMakeLib/testDebugger.h b/Tests/CMakeLib/testDebugger.h index d8d2caa..df67278 100644 --- a/Tests/CMakeLib/testDebugger.h +++ b/Tests/CMakeLib/testDebugger.h @@ -19,7 +19,7 @@ do { \ ASSERT_TRUE(x.name == expectedName); \ ASSERT_TRUE(x.value == expectedValue); \ - if (expectedType == nullptr) { \ + if (expectedType == std::string()) { \ ASSERT_TRUE(x.type == dap::optional<dap::string>()); \ } else { \ ASSERT_TRUE(x.type == dap::optional<dap::string>(expectedType)); \ |