mirror of
https://github.com/wader/fq.git
synced 2024-11-26 21:55:57 +03:00
14 lines
221 B
Go
14 lines
221 B
Go
|
package lazyre_test
|
||
|
|
||
|
import (
|
||
|
"testing"
|
||
|
|
||
|
"github.com/wader/fq/internal/lazyre"
|
||
|
)
|
||
|
|
||
|
func TestMust(t *testing.T) {
|
||
|
if !lazyre.New("a").Must().MatchString("a") {
|
||
|
t.Fatal("should compile and be non-nil and match a")
|
||
|
}
|
||
|
}
|