diff --git a/lldb/unittests/TestingSupport/TestUtilities.cpp b/lldb/unittests/TestingSupport/TestUtilities.cpp index 4d369bd0968a1..34f49e5862a7a 100644 --- a/lldb/unittests/TestingSupport/TestUtilities.cpp +++ b/lldb/unittests/TestingSupport/TestUtilities.cpp @@ -27,8 +27,6 @@ std::string lldb_private::GetInputFilePath(const llvm::Twine &name) { } llvm::Expected TestFile::fromYaml(llvm::StringRef Yaml) { - assert(testing::UnitTest::GetInstance()->current_test_info()); - std::string Buffer; llvm::raw_string_ostream OS(Buffer); llvm::yaml::Input YIn(Yaml);