Browse Source

Add 1 more each for < and >

Jeroen van Rijn 1 year ago
parent
commit
41b8f06f51
1 changed files with 2 additions and 0 deletions
  1. 2 0
      tests/internal/test_string_compare.odin

+ 2 - 0
tests/internal/test_string_compare.odin

@@ -15,7 +15,9 @@ Test :: struct {
 CASES := []Test{
 	{"hellope",  "hellope", {.Eq=true,  .Lt=false, .Gt=false}},
 	{"Hellope",  "hellope", {.Eq=false, .Lt=true,  .Gt=false}}, // H < h
+	{"Hell",     "Hellope", {.Eq=false, .Lt=true,  .Gt=false}},
 	{"Hellope!", "Hellope", {.Eq=false, .Lt=false, .Gt=true }},
+	{"Hellopf",  "Hellope", {.Eq=false, .Lt=false, .Gt=true }},
 }
 
 @test