photoprism/pkg/txt/titles_test.go
Michael Mayer b00dd133db Test: Use PascalCase names for all Go subtests in /pkg
Signed-off-by: Michael Mayer <michael@photoprism.app>
2025-10-02 15:03:47 +02:00

16 lines
280 B
Go

package txt
import (
"testing"
"github.com/stretchr/testify/assert"
)
func TestTitlesAndRanks(t *testing.T) {
t.Run("King", func(t *testing.T) {
assert.True(t, TitlesAndRanks["king"])
})
t.Run("Fool", func(t *testing.T) {
assert.False(t, TitlesAndRanks["fool"])
})
}