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

@@ -28,12 +28,12 @@ func TestActivity_Running(t *testing.T) {
}
func TestActivity_Start(t *testing.T) {
t.Run("cancelled true", func(t *testing.T) {
t.Run("CancelledTrue", func(t *testing.T) {
b := Activity{canceled: true}
assert.Error(t, b.Start(), "still running")
})
t.Run("busy true", func(t *testing.T) {
t.Run("BusyTrue", func(t *testing.T) {
b := Activity{busy: true}
assert.Error(t, b.Start(), "already running")