fix typos in str node test
authorOlivier Matz <zer0@droids-corp.org>
Wed, 28 Feb 2018 19:58:58 +0000 (20:58 +0100)
committerOlivier Matz <zer0@droids-corp.org>
Wed, 28 Feb 2018 19:58:58 +0000 (20:58 +0100)
lib/ecoli_node_str.c

index 5755ec7..3cbc31b 100644 (file)
@@ -222,20 +222,16 @@ static int ec_node_str_testcase(void)
                "");
        ret |= EC_TEST_CHECK_COMPLETE(node,
                "", EC_NODE_ENDLIST,
-               "foo", EC_NODE_ENDLIST,
-               "foo");
+               "foo", EC_NODE_ENDLIST);
        ret |= EC_TEST_CHECK_COMPLETE(node,
                "f", EC_NODE_ENDLIST,
-               "foo", EC_NODE_ENDLIST,
-               "foo");
+               "foo", EC_NODE_ENDLIST);
        ret |= EC_TEST_CHECK_COMPLETE(node,
                "foo", EC_NODE_ENDLIST,
-               "foo", EC_NODE_ENDLIST,
-               "foo");
+               "foo", EC_NODE_ENDLIST);
        ret |= EC_TEST_CHECK_COMPLETE(node,
                "x", EC_NODE_ENDLIST,
-               EC_NODE_ENDLIST,
-               "");
+               EC_NODE_ENDLIST);
        ec_node_free(node);
 
        return ret;