shithub: mc

Download patch

ref: 746a147dbd5a08af94388941ee11c87a33f15cb4
parent: 338eb4e4545d7005f90b73695849ed572be3edc6
author: Ori Bernstein <[email protected]>
date: Mon Dec 16 13:22:00 EST 2013

Add more tests for strfind()

--- a/test/strfind.myr
+++ b/test/strfind.myr
@@ -1,6 +1,8 @@
 use std
 
 const main = {
+	printloc(std.strfind("", ""))
+	printloc(std.strfind("", "a"))
 	printloc(std.strfind("ab", "abc"))
 	printloc(std.strfind("abc", "abc"))
 	printloc(std.strfind("abcde", "abc"))