more lint errors

This commit is contained in:
Christopher Homberger
2026-02-23 00:30:44 +01:00
parent bffc600775
commit 09d18916bf
22 changed files with 46 additions and 61 deletions

View File

@@ -1,14 +1,13 @@
package functions
import (
"fmt"
"testing"
"github.com/stretchr/testify/require"
)
func TestFormat(t *testing.T) {
s, err := Format("Hello {0}, you have {1} new messages", "Alice", 5)
_, err := Format("Hello {0}, you have {1} new messages", "Alice", 5)
require.NoError(t, err)
fmt.Println(s) // Hello Alice, you have 5 new messages
// fmt.Println(s) // Hello Alice, you have 5 new messages
}