aboutsummaryrefslogtreecommitdiffstats
path: root/tests/check_error.c
diff options
context:
space:
mode:
authorRafael G. Martins <rafael@rafaelmartins.eng.br>2015-04-21 19:45:51 -0300
committerRafael G. Martins <rafael@rafaelmartins.eng.br>2015-04-21 19:45:51 -0300
commitd9755b37ca240cf1c088dfc9b209ea699fbcb7df (patch)
tree36ee2e6d20f45bc41459cc9075e453cf444144bd /tests/check_error.c
parent42d0c90a19f558ceaef5a276cbad5686f49aa309 (diff)
downloadblogc-d9755b37ca240cf1c088dfc9b209ea699fbcb7df.tar.gz
blogc-d9755b37ca240cf1c088dfc9b209ea699fbcb7df.tar.bz2
blogc-d9755b37ca240cf1c088dfc9b209ea699fbcb7df.zip
source parse: improved, added tests
Diffstat (limited to 'tests/check_error.c')
-rw-r--r--tests/check_error.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/check_error.c b/tests/check_error.c
index 59ac2f9..c4c08a9 100644
--- a/tests/check_error.c
+++ b/tests/check_error.c
@@ -48,7 +48,7 @@ test_error_parser(void **state)
blogc_error_t *error = blogc_error_parser(1, a, strlen(a), 11, "asd %d", 10);
assert_non_null(error);
assert_int_equal(error->type, 1);
- assert_string_equal(error->msg, "asd 10\nError occurred near to \"hunda\".");
+ assert_string_equal(error->msg, "asd 10\nError occurred near to 'hunda'");
blogc_error_free(error);
}