mirror of
https://github.com/photoprism/photoprism.git
synced 2025-12-12 00:34:13 +01:00
Test: Use PascalCase names for all Go subtests in /internal
Signed-off-by: Michael Mayer <michael@photoprism.app>
This commit is contained in:
@@ -8,7 +8,7 @@ import (
|
||||
)
|
||||
|
||||
func TestNewResponse(t *testing.T) {
|
||||
t.Run("404", func(t *testing.T) {
|
||||
t.Run("Num404", func(t *testing.T) {
|
||||
r := NewResponse(404, errors.New("not found"), "details")
|
||||
assert.Equal(t, 404, r.Code)
|
||||
assert.Equal(t, "details", r.Details)
|
||||
|
||||
Reference in New Issue
Block a user