chiark / gitweb /
time/space limits for client output buffering
[disorder] / lib / test.c
index ed9018338c0d04acf3fa3abf06a6ddad03cf287b..2b40a44999ee6cf834754b2594a130576dcbd8ee 100644 (file)
@@ -350,13 +350,16 @@ static void test_casefold(void) {
       else
        l = c;
       break;
+#if 0
+      /* unidata-based case folding doens't support special cases */
     case 0xB5:                         /* MICRO SIGN */
-      l = 0x3BC;                       /* GREEK SMALL LETTER MU */
+      l = 0x39C;                       /* GREEK SMALL LETTER MU */
       break;
     case 0xDF:                         /* LATIN SMALL LETTER SHARP S */
       insist(!strcmp(ls, "ss"));
       l = 0;
       break;
+#endif
     }
     if(l) {
       u[0] = l;
@@ -380,6 +383,7 @@ static inline int int_lt(int a, int b) { return a < b; }
 /** @struct iheap
  * @brief A heap with @c int elements */
 HEAP_TYPE(iheap, int, int_lt);
+HEAP_DEFINE(iheap, int, int_lt);
 
 /** @brief Tests for @ref heap.h */
 static void test_heap(void) {