Merge pull request #27501 from taosdata/fix/TD-31672

fix:[TD-31672] test case error in windows because different format fo…
This commit is contained in:
Pan Wei 2024-08-28 10:02:51 +08:00 committed by GitHub
commit cb560ea51c
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -1170,7 +1170,7 @@ void testDetailError() {
int32_t code = tmq_write_raw((TAOS*)1, raw);
ASSERT(code);
const char* err = tmq_err2str(code);
char* tmp = strstr(err, "Invalid parameters,detail:taos:0x1 or data");
char* tmp = strstr(err, "Invalid parameters,detail:taos:");
ASSERT(tmp != NULL);
}