Files
evol-headers/tests/ev_str/find_first_empty_text.c
T
mo7sen 2c74b727ef
Run tests / Run tests (push) Successful in 11s
Added more tests + fixed evstr issues
2026-05-04 21:44:32 +03:00

18 lines
282 B
C

#define EV_STR_IMPLEMENTATION
#include "ev_str.h"
#include <assert.h>
int main(void)
{
evstring text = evstr("");
evstring query = evstr("a");
evstring_view match = evstring_findFirst(text, query);
assert(match.len == 0);
assert(match.offset == ~0ull);
return 0;
}