diff options
| author | Sebastian Bauer <mail@sebastianbauer.info> | 2013-01-25 06:48:55 +0100 |
|---|---|---|
| committer | Sebastian Bauer <mail@sebastianbauer.info> | 2013-01-25 06:55:56 +0100 |
| commit | a7f8065f8cd3d635264b3bfdb93cd0c22bb960a4 (patch) | |
| tree | 9b1b94a44b99e918b0063285c640115b4fdc4659 /tests-clar/config/read.c | |
| parent | c9e9640356f4c56fdb86d3313a5a7dcf282b7391 (diff) | |
| download | libgit2-a7f8065f8cd3d635264b3bfdb93cd0c22bb960a4.tar.gz | |
Use cl_assert_equal_s() instead of strcmp().
Replaced all cl_assert(!strcmp()) or semantically equivalent forms
by cl_assert_equal_s().
Diffstat (limited to 'tests-clar/config/read.c')
| -rw-r--r-- | tests-clar/config/read.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests-clar/config/read.c b/tests-clar/config/read.c index 9c02307ad..c85826886 100644 --- a/tests-clar/config/read.c +++ b/tests-clar/config/read.c @@ -194,7 +194,7 @@ void test_config_read__escaping_quotes(void) cl_git_pass(git_config_open_ondisk(&cfg, cl_fixture("config/config13"))); cl_git_pass(git_config_get_string(&str, cfg, "core.editor")); - cl_assert(strcmp(str, "\"C:/Program Files/Nonsense/bah.exe\" \"--some option\"") == 0); + cl_assert_equal_s("\"C:/Program Files/Nonsense/bah.exe\" \"--some option\"", str); git_config_free(cfg); } |
