mirror of
https://github.com/asterisk/asterisk.git
synced 2025-09-19 03:08:45 +00:00
Tweak unit test warning message.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@370598 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -553,7 +553,7 @@ static struct ast_test *test_alloc(ast_test_cb_t *cb)
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (test->info.category[0] != '/' || test->info.category[strlen(test->info.category) - 1] != '/') {
|
if (test->info.category[0] != '/' || test->info.category[strlen(test->info.category) - 1] != '/') {
|
||||||
ast_log(LOG_WARNING, "Test category is missing a leading or trailing slash for test %s%s\n",
|
ast_log(LOG_WARNING, "Test category '%s' for test '%s' is missing a leading or trailing slash.\n",
|
||||||
test->info.category, test->info.name);
|
test->info.category, test->info.name);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user