Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/libgit2.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEdward Thomson <ethomson@microsoft.com>2015-02-13 18:44:19 +0300
committerEdward Thomson <ethomson@microsoft.com>2015-02-13 18:44:19 +0300
commit92e87dd74974ccad8e0dbd8dd212bfc514ba441d (patch)
treeb9b4593d7fdf0af975fde7b0be3ada6d38b1d02f /tests/rebase
parent57f45e7f4dd7202607f51292a816a262622e964c (diff)
rebase: provide NULL `exec` on non-EXEC operations
Users may want to try to pay attention to the `exec` field on all rebase operations.
Diffstat (limited to 'tests/rebase')
-rw-r--r--tests/rebase/iterator.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/rebase/iterator.c b/tests/rebase/iterator.c
index ddf4413d3..8117a094a 100644
--- a/tests/rebase/iterator.c
+++ b/tests/rebase/iterator.c
@@ -42,6 +42,7 @@ static void test_operations(git_rebase *rebase, size_t expected_current)
operation = git_rebase_operation_byindex(rebase, i);
cl_assert_equal_i(GIT_REBASE_OPERATION_PICK, operation->type);
cl_assert_equal_oid(&expected_oid[i], &operation->id);
+ cl_assert_equal_p(NULL, operation->exec);
}
}