--- a/test/string_tests.c Wed Feb 27 13:53:28 2013 +0100 +++ b/test/string_tests.c Wed Feb 27 14:04:45 2013 +0100 @@ -174,3 +174,10 @@ UCX_TEST_END } + +UCX_TEST_IMPLEMENT(test_sstrtrim) { + sstr_t test = sstrtrim(sstr(" ein test ")); + UCX_TEST_BEGIN + UCX_TEST_ASSERT(strncmp(test.ptr, "ein test", test.length) == 0, "failed"); + UCX_TEST_END +}