diff --git a/src/strchri.🗿 b/src/strchri.🗿 deleted file mode 100644 index 6e03957..0000000 --- a/src/strchri.🗿 +++ /dev/null @@ -1,12 +0,0 @@ -strchri(str, c) -{ - local i = 0; - - loop { - if ([str + i] == c) - return (i); - if ([str + i] == 0) - return (0 - 1); - i++; - } -} diff --git a/tests/strchri.🗿 b/tests/strchri.🗿 deleted file mode 100644 index 77aa08d..0000000 --- a/tests/strchri.🗿 +++ /dev/null @@ -1,8 +0,0 @@ -main() -{ - name = "strchri"; - - test_num(strchri("bozoman", 'm'), 4, ""); - test_num(strchri("bozoman", 'v'), 0 - 1, ""); - test_num(strchri("", 'v'), 0 - 1, ""); -}