add more unit test for location and sts
This commit is contained in:
@@ -30,4 +30,8 @@ TEST(Error, basic) {
|
||||
|
||||
EXPECT_TRUE(error.errorCode() == code1);
|
||||
EXPECT_TRUE(error.errorMessage() == message1);
|
||||
|
||||
const string detail = "any error detail";
|
||||
error.setDetail(detail);
|
||||
EXPECT_TRUE(error.detail() == detail);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user