mirror of
https://github.com/Ed94/raddebugger.git
synced 2026-10-02 14:08:43 +00:00
promote test-definition concepts from torture to base layer; reorganize tests to be nested in their respective layer; eliminate 't_group', just use containing layer
This commit is contained in:
@@ -423,6 +423,10 @@ str8_find_needle(String8 string, U64 start_pos, String8 needle, StringMatchFlags
|
||||
{
|
||||
needle_first_char_adjusted = upper_from_char(needle_first_char_adjusted);
|
||||
}
|
||||
if(adjusted_flags & StringMatchFlag_SlashInsensitive)
|
||||
{
|
||||
needle_first_char_adjusted = correct_slash_from_char(needle_first_char_adjusted);
|
||||
}
|
||||
for(;p < stop_p; p += 1)
|
||||
{
|
||||
U8 haystack_char_adjusted = *p;
|
||||
@@ -430,6 +434,10 @@ str8_find_needle(String8 string, U64 start_pos, String8 needle, StringMatchFlags
|
||||
{
|
||||
haystack_char_adjusted = upper_from_char(haystack_char_adjusted);
|
||||
}
|
||||
if(adjusted_flags & StringMatchFlag_SlashInsensitive)
|
||||
{
|
||||
haystack_char_adjusted = correct_slash_from_char(haystack_char_adjusted);
|
||||
}
|
||||
if(haystack_char_adjusted == needle_first_char_adjusted)
|
||||
{
|
||||
if(str8_match(str8_range(p + 1, string_opl), needle_tail, adjusted_flags))
|
||||
|
||||
Reference in New Issue
Block a user