Browse code

Don't ignore make test errors

John Hawthorn authored on 24/04/2016 23:12:07
Showing 2 changed files

... ...
@@ -17,7 +17,7 @@ fzytest: fzytest.o match.o choices.o
17 17
 	$(CC) $(CFLAGS) $(CCFLAGS) -o $@ $^
18 18
 
19 19
 test: fzytest
20
-	-$(DEBUGGER) ./fzytest
20
+	$(DEBUGGER) ./fzytest
21 21
 
22 22
 fzy: fzy.o match.o tty.o choices.o
23 23
 	$(CC) $(CFLAGS) $(CCFLAGS) -o $@ $^
... ...
@@ -102,7 +102,7 @@ void test_positions_4() {
102 102
 
103 103
 void test_positions_5() {
104 104
 	size_t positions[3];
105
-	match_positions("abc", "a a b c c", positions);
105
+	match_positions("abc", "a/a/b/c/c", positions);
106 106
 	assert(positions[0] == 2);
107 107
 	assert(positions[1] == 4);
108 108
 	assert(positions[2] == 6);