mirror of
https://github.com/gotenberg/gotenberg.git
synced 2026-08-12 18:32:14 +01:00
fixes #104
This commit is contained in:
17
internal/pkg/normalize/normalize_test.go
Normal file
17
internal/pkg/normalize/normalize_test.go
Normal file
@@ -0,0 +1,17 @@
|
||||
package normalize
|
||||
|
||||
import (
|
||||
"testing"
|
||||
|
||||
"github.com/stretchr/testify/assert"
|
||||
)
|
||||
|
||||
func TestString(t *testing.T) {
|
||||
const (
|
||||
toNormalize string = "analise da aplicação"
|
||||
expected string = "analise da aplicacao"
|
||||
)
|
||||
v, err := String(toNormalize)
|
||||
assert.Nil(t, err)
|
||||
assert.Equal(t, expected, v)
|
||||
}
|
||||
Reference in New Issue
Block a user