diff options
author | Vicent Martà <tanoku@gmail.com> | 2012-02-17 00:13:34 +0100 |
---|---|---|
committer | Vicent Martà <tanoku@gmail.com> | 2012-03-06 00:43:10 +0100 |
commit | 1a48112342932e9fcd45a1ff5935f1c9c53b83d1 (patch) | |
tree | fbb18cfe64e65025c6e1790972d1a106eea4cc54 /tests-clar/config | |
parent | 45d387ac78bcf3167d69b736d0b322717bc492d4 (diff) | |
download | libgit2-1a48112342932e9fcd45a1ff5935f1c9c53b83d1.tar.gz |
error-handling: References
Yes, this is error handling solely for `refs.c`, but some of the
abstractions leak all ofer the code base.
Diffstat (limited to 'tests-clar/config')
-rw-r--r-- | tests-clar/config/stress.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests-clar/config/stress.c b/tests-clar/config/stress.c index e3b1114f0..25c2c66db 100644 --- a/tests-clar/config/stress.c +++ b/tests-clar/config/stress.c @@ -27,7 +27,7 @@ void test_config_stress__dont_break_on_invalid_input(void) struct git_config_file *file; git_config *config; - cl_git_pass(git_path_exists("git-test-config")); + cl_assert(git_path_exists("git-test-config")); cl_git_pass(git_config_file__ondisk(&file, "git-test-config")); cl_git_pass(git_config_new(&config)); cl_git_pass(git_config_add_file(config, file, 0)); |