diff options
author | Alan Rogers <alanjrogers@me.com> | 2014-10-21 09:29:17 +1100 |
---|---|---|
committer | Edward Thomson <ethomson@microsoft.com> | 2014-10-25 15:09:53 -0400 |
commit | 1ebb8e947fa21ecc6a7a145b832a2738d56c77d3 (patch) | |
tree | e00d56269b12fad4d4fae9776784cc678819f4b9 | |
parent | acbfce9f838e4c313718d5c1fb3929f9b906ab62 (diff) | |
download | libgit2-1ebb8e947fa21ecc6a7a145b832a2738d56c77d3.tar.gz |
Change the length of the file so that the change is picked up.
-rw-r--r-- | tests/config/snapshot.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/config/snapshot.c b/tests/config/snapshot.c index d8e6f4e3b..e47e252ac 100644 --- a/tests/config/snapshot.c +++ b/tests/config/snapshot.c @@ -25,13 +25,13 @@ void test_config_snapshot__create_snapshot(void) cl_assert_equal_i(5, tmp); /* Change the value on the file itself (simulate external process) */ - cl_git_mkfile(filename, "[old]\nvalue = 99\n"); + cl_git_mkfile(filename, "[old]\nvalue = 999\n"); cl_git_pass(git_config_snapshot(&new_snapshot, cfg)); /* New snapshot should see new value */ cl_git_pass(git_config_get_int32(&tmp, new_snapshot, "old.value")); - cl_assert_equal_i(99, tmp); + cl_assert_equal_i(999, tmp); /* Old snapshot should still have the old value */ cl_git_pass(git_config_get_int32(&tmp, snapshot, "old.value")); |