Procházet zdrojové kódy

examples/substring_test.c: fix typo

ambrop7 před 13 roky
rodič
revize
fd098c64fd
1 změnil soubory, kde provedl 1 přidání a 1 odebrání
  1. 1 1
      examples/substring_test.c

+ 1 - 1
examples/substring_test.c

@@ -197,7 +197,7 @@ int main (int argc, char *argv[])
         size_t pos;
         int res = find_substring_reverse(text, strlen(text), word, strlen(word), table, &pos);
         ASSERT_FORCE(res)
-        ASSERT_FORCE(res == 1)
+        ASSERT_FORCE(pos == 1)
     }
     
     return 0;