diff options
author | Thomas Hindoe Paaboel Andersen <phomes@gmail.com> | 2015-05-19 06:33:54 +0200 |
---|---|---|
committer | Thomas Hindoe Paaboel Andersen <phomes@gmail.com> | 2015-05-19 06:35:44 +0200 |
commit | b669934fae49c9158c35e612e54e1765edca8584 (patch) | |
tree | e4d4dfc461221c8258dacd44f5ea3a3a6b80001b /src/test | |
parent | e88d8021ba34be32ef5ace32e7243da798b0d1c5 (diff) |
test-hashmap: fix an assert
CID#1299016
Diffstat (limited to 'src/test')
-rw-r--r-- | src/test/test-hashmap-plain.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/test-hashmap-plain.c b/src/test/test-hashmap-plain.c index 84b508f874..c1a5ccf1f5 100644 --- a/src/test/test-hashmap-plain.c +++ b/src/test/test-hashmap-plain.c @@ -682,7 +682,7 @@ static void test_hashmap_get2(void) { r = hashmap_get2(m, key_orig, &key_copy); assert_se(streq(r, val)); assert_se(key_orig != key_copy); - assert_se(streq(key_orig, key_orig)); + assert_se(streq(key_orig, key_copy)); r = hashmap_get2(m, "no such key", NULL); assert_se(r == NULL); |