Files
act_runner/internal/eval/functions/format_test.go
2025-10-06 13:53:15 +02:00

15 lines
272 B
Go

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