summaryrefslogtreecommitdiff
path: root/src/test/test-string-util.c
diff options
context:
space:
mode:
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2019-06-28 11:15:05 +0200
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2019-06-28 11:35:05 +0200
commit4ec851414248bb2031d805b40c40fdbbef899112 (patch)
tree3d19ac5c5bc39bab2fe269b6056e6ff46ca4f7f3 /src/test/test-string-util.c
parentcae90de3d3e251692a72f3e8261c833e9ed2eaf7 (diff)
downloadsystemd-4ec851414248bb2031d805b40c40fdbbef899112.tar.gz
Rename EXTRACT_QUOTES to EXTRACT_UNQUOTE
Whenever I see EXTRACT_QUOTES, I'm always confused whether it means to leave the quotes in or to take them out. Let's say "unquote", like we say "cunescape".
Diffstat (limited to 'src/test/test-string-util.c')
-rw-r--r--src/test/test-string-util.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/test-string-util.c b/src/test/test-string-util.c
index 064a5abdac..f7dde618d3 100644
--- a/src/test/test-string-util.c
+++ b/src/test/test-string-util.c
@@ -380,7 +380,7 @@ static void check(const char *test, char** expected, bool trailing) {
for (;;) {
_cleanup_free_ char *word = NULL;
- r = extract_first_word(&test, &word, NULL, EXTRACT_QUOTES);
+ r = extract_first_word(&test, &word, NULL, EXTRACT_UNQUOTE);
if (r == 0) {
assert_se(!trailing);
break;