fzy
terminal fuzzy finder picker
git clone https://9o.is/git/fzy.git
commit a8756053f2cc4454aca94d5f9a9e896dec4a2133 parent 163af36e93a41a83f37623eed25710c97f5ee5db Author: John Hawthorn <john.hawthorn@gmail.com> Date: Mon, 16 May 2016 19:05:50 -0700 fixup! Rename choices_free to choices_destroy Diffstat:
| M | fzytest.c | | | 8 | ++++---- |
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/fzytest.c b/fzytest.c @@ -129,7 +129,7 @@ void test_choices_empty() { choices_next(&choices); assert(choices.selection == 0); - choices_free(&choices); + choices_destroy(&choices); } void test_choices_1() { @@ -154,7 +154,7 @@ void test_choices_1() { assert(!strcmp(choices_get(&choices, 0), "tags")); assert(choices_get(&choices, 1) == NULL); - choices_free(&choices); + choices_destroy(&choices); } void test_choices_2() { @@ -204,7 +204,7 @@ void test_choices_2() { assert_streq(choices_get(&choices, 0), "test"); assert_streq(choices_get(&choices, 1), "tags"); - choices_free(&choices); + choices_destroy(&choices); } void test_choices_without_search() { @@ -225,7 +225,7 @@ void test_choices_without_search() { assert(choices.size == 1); assert(choices_get(&choices, 0) == NULL); - choices_free(&choices); + choices_destroy(&choices); } void summary() {