Skip to content

Instantly share code, notes, and snippets.

@jonm
Created November 8, 2015 20:53
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/a967e2a0732e63bd66c6 to your computer and use it in GitHub Desktop.
Save jonm/a967e2a0732e63bd66c6 to your computer and use it in GitHub Desktop.
Test(act_wizard, dsearch_double_tilde) {
char arg[255], dst[255];
sprintf(arg, "Someone ~~ appears!");
dsearch(arg, dst);
cr_assert_str_eq(dst, "Someone appears!");
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment