Config: Update cli_flags_test.go
Signed-off-by: Michael Mayer <michael@photoprism.app>
This commit is contained in:
parent
c405f6eff2
commit
b9181bee6f
1 changed files with 3 additions and 3 deletions
|
@ -16,10 +16,10 @@ func TestCliFlags_Cli(t *testing.T) {
|
|||
func TestCliFlags_Find(t *testing.T) {
|
||||
cliFlags := Flags.Cli()
|
||||
standard := Flags.Find([]string{})
|
||||
sponsor := Flags.Find([]string{EnvSponsor})
|
||||
essentials := Flags.Find([]string{Essentials})
|
||||
other := Flags.Find([]string{"other"})
|
||||
|
||||
assert.Equal(t, len(standard), len(other))
|
||||
assert.Equal(t, len(cliFlags), len(sponsor))
|
||||
assert.Less(t, len(other), len(sponsor))
|
||||
assert.Equal(t, len(cliFlags), len(essentials))
|
||||
assert.Less(t, len(other), len(essentials))
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue