// Shared helpers of package strings_test, composed into every family // file by dir-mode (Go's shared test-helper idiom: one helpers file in // the same test package). Holds exactly the cross-family helper; a // helper used by one family stays in that family's file. package strings_test; fn streq(a: str, b: str) bool = { if (a.len != b.len) { return false; }; let i: i32 = 0; for (i < a.len) { if (a[i] != b[i]) { return false; }; i += 1; }; return true; };