summaryrefslogtreecommitdiff
path: root/lib/util/tests/parmlist.c
diff options
context:
space:
mode:
authorBrad Hards <bradh@frogmouth.net>2010-02-21 16:58:07 +1100
committerMatthias Dieter Wallnöfer <mwallnoefer@yahoo.de>2010-02-22 21:45:35 +0100
commitdd89dc2c3166d4bbcb3aacfb7222488c69e10485 (patch)
tree22279736dfd14bbf75ca3a726a59b16b61872dfb /lib/util/tests/parmlist.c
parente4c2f4dc75ad38bfeb7c8b8015a48b6b49b22b90 (diff)
downloadsamba-dd89dc2c3166d4bbcb3aacfb7222488c69e10485.tar.gz
samba-dd89dc2c3166d4bbcb3aacfb7222488c69e10485.tar.bz2
samba-dd89dc2c3166d4bbcb3aacfb7222488c69e10485.zip
Spelling fixes for libutil
Signed-off-by: Matthias Dieter Wallnöfer <mwallnoefer@yahoo.de>
Diffstat (limited to 'lib/util/tests/parmlist.c')
-rw-r--r--lib/util/tests/parmlist.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/util/tests/parmlist.c b/lib/util/tests/parmlist.c
index 4b1d875715..c1bd69d2b0 100644
--- a/lib/util/tests/parmlist.c
+++ b/lib/util/tests/parmlist.c
@@ -59,8 +59,8 @@ static bool test_get(struct torture_context *tctx)
torture_assert_str_equal(tctx, e->key, "bar", "key");
torture_assert_str_equal(tctx, e->value, "mystring", "value");
- e = parmlist_get(pctx, "nonexistant");
- torture_assert(tctx, e == NULL, "nonexistant");
+ e = parmlist_get(pctx, "non-existent");
+ torture_assert(tctx, e == NULL, "non-existent");
return true;
}
@@ -87,7 +87,7 @@ static bool test_get_string_list(struct torture_context *tctx)
torture_assert_int_equal(tctx, str_list_length(ret), 2, "length");
torture_assert_str_equal(tctx, "true", ret[0], "ret[0]");
torture_assert_str_equal(tctx, "false", ret[1], "ret[1]");
- torture_assert(tctx, NULL == parmlist_get_string_list(pctx, "nonexistant", NULL), "nonexistant");
+ torture_assert(tctx, NULL == parmlist_get_string_list(pctx, "non-existent", NULL), "non-existent");
return true;
}