mirror of
https://github.com/SamyRai/tercul-backend.git
synced 2025-12-27 05:11:34 +00:00
14 lines
325 B
Go
14 lines
325 B
Go
package linguistics
|
|
|
|
import (
|
|
"github.com/stretchr/testify/require"
|
|
"testing"
|
|
)
|
|
|
|
func TestFactory_WiresProviders(t *testing.T) {
|
|
// We won't spin a DB/cache here; this is a smoke test of wiring methods
|
|
f := NewLinguisticsFactory(nil, nil, 2, true)
|
|
ta := f.GetTextAnalyzer().(*BasicTextAnalyzer)
|
|
require.NotNil(t, ta)
|
|
}
|