git.annexia.org
/
miniexpect.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
tests: add "missing" initializers
[miniexpect.git]
/
test-multi-match.c
diff --git
a/test-multi-match.c
b/test-multi-match.c
index
dd36c72
..
bc40b37
100644
(file)
--- a/
test-multi-match.c
+++ b/
test-multi-match.c
@@
-51,11
+51,11
@@
main (int argc, char *argv[])
for (i = 0; i < 5; ++i) {
r = mexp_expect (h,
(mexp_regexp[]) {
for (i = 0; i < 5; ++i) {
r = mexp_expect (h,
(mexp_regexp[]) {
- { 100, multi_re },
- { 101, match_re },
- { 102, ing_re },
- { 103, str_re },
- { 104, s_re },
+ { 100, multi_re
, 0
},
+ { 101, match_re
, 0
},
+ { 102, ing_re
, 0
},
+ { 103, str_re
, 0
},
+ { 104, s_re
, 0
},
{ 0 },
}, match_data);
switch (r) {
{ 0 },
}, match_data);
switch (r) {