summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn Hawthorn <john.hawthorn@gmail.com>2016-04-24 16:12:07 -0700
committerJohn Hawthorn <john.hawthorn@gmail.com>2016-04-24 16:41:15 -0700
commit6eb474bbf34f3e95291459cd01ea31e21f08bfe8 (patch)
tree882993b0b98faf4b0c802071a8c2f6c3c5ff15ef
parent62d3fa90c4be659cead25fbe16ad696c832c7160 (diff)
Don't ignore make test errors
-rw-r--r--Makefile2
-rw-r--r--fzytest.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index ae88261..02c8f07 100644
--- a/Makefile
+++ b/Makefile
@@ -17,7 +17,7 @@ fzytest: fzytest.o match.o choices.o
$(CC) $(CFLAGS) $(CCFLAGS) -o $@ $^
test: fzytest
- -$(DEBUGGER) ./fzytest
+ $(DEBUGGER) ./fzytest
fzy: fzy.o match.o tty.o choices.o
$(CC) $(CFLAGS) $(CCFLAGS) -o $@ $^
diff --git a/fzytest.c b/fzytest.c
index 828fa1b..0b3b63a 100644
--- a/fzytest.c
+++ b/fzytest.c
@@ -102,7 +102,7 @@ void test_positions_4() {
void test_positions_5() {
size_t positions[3];
- match_positions("abc", "a a b c c", positions);
+ match_positions("abc", "a/a/b/c/c", positions);
assert(positions[0] == 2);
assert(positions[1] == 4);
assert(positions[2] == 6);