| 1 | package cliscip-go gomod github.com/urfave/cli/v3 . `github.com/urfave/cli/v3`/ |
| 2 | |
| 3 | import ( |
| 4 | "testingscip-go gomod github.com/golang/go/src go1.22 testing/" |
| 5 | |
| 6 | "github.com/stretchr/testify/assertscip-go gomod github.com/stretchr/testify v1.11.1 `github.com/stretchr/testify/assert`/" |
| 7 | ) |
| 8 | |
| 9 | var lexicographicLessTestsscip-go gomod github.com/urfave/cli/v3 . `github.com/urfave/cli/v3`/lexicographicLessTests. = []struct { |
| 10 | iscip-go gomod github.com/urfave/cli/v3 . `github.com/urfave/cli/v3`/lexicographicLessTests:i. string |
| 11 | jscip-go gomod github.com/urfave/cli/v3 . `github.com/urfave/cli/v3`/lexicographicLessTests:j. string |
| 12 | expectedscip-go gomod github.com/urfave/cli/v3 . `github.com/urfave/cli/v3`/lexicographicLessTests:expected. bool |
| 13 | }{ |
| 14 | {"", "a", true}, |
| 15 | {"a", "", false}, |
| 16 | {"a", "a", false}, |
| 17 | {"a", "A", false}, |
| 18 | {"A", "a", true}, |
| 19 | {"aa", "a", false}, |
| 20 | {"a", "aa", true}, |
| 21 | {"a", "b", true}, |
| 22 | {"a", "B", true}, |
| 23 | {"A", "b", true}, |
| 24 | {"A", "B", true}, |
| 25 | } |
| 26 | |
| 27 | func TestLexicographicLessscip-go gomod github.com/urfave/cli/v3 . `github.com/urfave/cli/v3`/TestLexicographicLess().(t *testingscip-go gomod github.com/golang/go/src go1.22 testing/.Tscip-go gomod github.com/golang/go/src go1.22 testing/T#) { |
| 28 | for _, test := range lexicographicLessTestsscip-go gomod github.com/urfave/cli/v3 . `github.com/urfave/cli/v3`/lexicographicLessTests. { |
| 29 | actual := lexicographicLessscip-go gomod github.com/urfave/cli/v3 . `github.com/urfave/cli/v3`/lexicographicLess().(test.iscip-go gomod github.com/urfave/cli/v3 . `github.com/urfave/cli/v3`/lexicographicLessTests:i., test.jscip-go gomod github.com/urfave/cli/v3 . `github.com/urfave/cli/v3`/lexicographicLessTests:j.) |
| 30 | assertscip-go gomod github.com/stretchr/testify v1.11.1 `github.com/stretchr/testify/assert`/.Equalscip-go gomod github.com/stretchr/testify v1.11.1 `github.com/stretchr/testify/assert`/Equal().(t, test.expectedscip-go gomod github.com/urfave/cli/v3 . `github.com/urfave/cli/v3`/lexicographicLessTests:expected., actual) |
| 31 | } |
| 32 | } |