/* -*- eval: (outline-minor-mode); outline-regexp: "START_TEST("; -*- */ START_TEST(check_trim) { char s1[10] = " test "; char s2[10] = " test\n "; char s3[10] = "\ttest\n "; trim(s1); trim(s2); trim(s3); ck_assert_str_eq(s1, "test"); ck_assert_str_eq(s2, "test"); ck_assert_str_eq(s3, "test"); } END_TEST