Files
act_runner/internal/eval/functions/format_test.go
Christopher Homberger 09d18916bf more lint errors
2026-02-23 00:30:44 +01:00

14 lines
270 B
Go

package functions
import (
"testing"
"github.com/stretchr/testify/require"
)
func TestFormat(t *testing.T) {
_, 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
}