Update test.

This commit is contained in:
Nikolai Kochetov 2020-03-25 19:44:50 +03:00
parent 8948a96c60
commit 7a3daac751

View File

@ -60,9 +60,9 @@ TEST(Processors, PortsNotConnected)
catch (DB::Exception & e) catch (DB::Exception & e)
{ {
std::cout << e.displayText() << std::endl; std::cout << e.displayText() << std::endl;
throw; ASSERT_TRUE(e.displayText().find("pipeline") != std::string::npos);
} }
}; };
ASSERT_THROW(exec(), DB::Exception); exec();
} }