Test: Use PascalCase names for all Go subtests in /internal

Signed-off-by: Michael Mayer <michael@photoprism.app>
This commit is contained in:
Michael Mayer
2025-10-02 14:50:02 +02:00
parent c68493da8a
commit 94b6631b3d
239 changed files with 1909 additions and 1909 deletions

View File

@@ -22,13 +22,13 @@ func TestLabelRule_Find(t *testing.T) {
},
}
t.Run("existing rule", func(t *testing.T) {
t.Run("ExistingRule", func(t *testing.T) {
result, ok := rules.Find("cat")
assert.True(t, ok)
assert.Equal(t, -2, result.Priority)
assert.Equal(t, float32(1), result.Threshold)
})
t.Run("not existing rule", func(t *testing.T) {
t.Run("NotExistingRule", func(t *testing.T) {
result, ok := rules.Find("fish")
assert.False(t, ok)
t.Log(result)