Void functions returning error now boolean convert to 'false' if they succeed.
Unit tests updated to reflect this.
llvm-svn: 280027
// Verify that the function returned ok.
auto Err = ResOrErr->first.get();
- EXPECT_TRUE(!!Err) << "Remote void function failed to execute.";
+ EXPECT_FALSE(!!Err) << "Remote void function failed to execute.";
}
TEST_F(DummyRPC, TestAsyncIntInt) {
// Verify that the function returned ok.
auto Err = ResOrErr->first.get();
- EXPECT_TRUE(!!Err) << "Remote void function failed to execute.";
+ EXPECT_FALSE(!!Err) << "Remote void function failed to execute.";
}
// Test the synchronous call API.