Skip to content

Instantly share code, notes, and snippets.

@jonm
Created October 23, 2015 11:08
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jonm/5d055616a39d1ae9a47c to your computer and use it in GitHub Desktop.
Save jonm/5d055616a39d1ae9a47c to your computer and use it in GitHub Desktop.
testing a string with a tilde
Test(act_wizard, dsearch_simple_tilde) {
char arg[255], dst[255];
sprintf(arg, "Someone ~ appears!");
dsearch(arg, dst);
cr_assert_str_eq(dst, "");
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment