diff options
Diffstat (limited to 'modules/git/foreachref/parser_test.go')
-rw-r--r-- | modules/git/foreachref/parser_test.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/git/foreachref/parser_test.go b/modules/git/foreachref/parser_test.go index 5468318ca8..7a37ced356 100644 --- a/modules/git/foreachref/parser_test.go +++ b/modules/git/foreachref/parser_test.go @@ -217,7 +217,7 @@ func TestParser(t *testing.T) { } } -func pretty(v interface{}) string { +func pretty(v any) string { data, err := json.MarshalIndent(v, "", " ") if err != nil { // shouldn't happen |