diff options
author | Vicent Martà <tanoku@gmail.com> | 2012-05-02 16:14:30 -0700 |
---|---|---|
committer | Vicent Martà <tanoku@gmail.com> | 2012-05-02 16:14:30 -0700 |
commit | 946a6dc4e693280e3210fbad7e4cec03c7b0b169 (patch) | |
tree | ffb89db5e092afdafe5ad922af9a5808351778c2 /tests-clar/notes/notes.c | |
parent | 40879facad0337d954d4904e212af3b36cdb9465 (diff) | |
download | libgit2-946a6dc4e693280e3210fbad7e4cec03c7b0b169.tar.gz |
Update test suite
Diffstat (limited to 'tests-clar/notes/notes.c')
-rw-r--r-- | tests-clar/notes/notes.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests-clar/notes/notes.c b/tests-clar/notes/notes.c index bb5a85dd1..ca82ab29c 100644 --- a/tests-clar/notes/notes.c +++ b/tests-clar/notes/notes.c @@ -33,11 +33,11 @@ void test_notes_notes__1(void) cl_git_pass(git_note_read(&_note, _repo, NULL, &oid)); - cl_assert_strequal(git_note_message(_note), "hello world\n"); + cl_assert_equal_s(git_note_message(_note), "hello world\n"); cl_assert(!git_oid_cmp(git_note_oid(_note), ¬e_oid)); cl_git_pass(git_blob_lookup(&_blob, _repo, ¬e_oid)); - cl_assert_strequal(git_note_message(_note), git_blob_rawcontent(_blob)); + cl_assert_equal_s(git_note_message(_note), git_blob_rawcontent(_blob)); cl_git_fail(git_note_create(¬e_oid, _repo, _sig, _sig, NULL, &oid, "hello world\n")); cl_git_fail(git_note_create(¬e_oid, _repo, _sig, _sig, "refs/notes/some/namespace", &oid, "hello world\n")); |