chiark / gitweb /
@q expansion
[disorder] / lib / t-macros.c
index 2bf747f80406b3eae2fe196754f030a3364f8782..a1dc0e07a6e9650eb4f1fbf9883b3b3f2e54e83d 100644 (file)
@@ -219,6 +219,9 @@ static void test_macros(void) {
               "foo & something", 0);
   check_macro("basename1", "@basename{xyzzy/plugh}", "plugh", 0);
   check_macro("basename2", "@basename{xyzzy/a<b}", "a<b", 0);
+
+  check_macro("q1", "@q{wibble}", "wibble", 0);
+  check_macro("q2", "@q{wibble}wobble", "wibblewobble", 0);
   
   /* Macro definitions ------------------------------------------------------ */