chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Properly report invalid quoted strings
[elogind.git]
/
src
/
test
/
test-util.c
diff --git
a/src/test/test-util.c
b/src/test/test-util.c
index a56b3556728c3d55cd217e2df78e700945b32f74..470475aa5d8b307cff8b93e82fd0149e21ce869a 100644
(file)
--- a/
src/test/test-util.c
+++ b/
src/test/test-util.c
@@
-358,6
+358,7
@@
static void test_foreach_word_quoted(void) {
assert_se(strneq(expected[i++], word, l));
printf("<%s>\n", t);
}
+ assert(isempty(state));
}
static void test_default_term_for_tty(void) {