2020-06-08 03:29:51 +03:00
|
|
|
package interp_test
|
|
|
|
|
|
|
|
import (
|
2023-12-06 13:44:56 +03:00
|
|
|
"flag"
|
2020-06-08 03:29:51 +03:00
|
|
|
"testing"
|
2021-08-17 13:06:32 +03:00
|
|
|
|
|
|
|
_ "github.com/wader/fq/format/all"
|
|
|
|
"github.com/wader/fq/pkg/fqtest"
|
2022-07-16 19:39:57 +03:00
|
|
|
"github.com/wader/fq/pkg/interp"
|
2020-06-08 03:29:51 +03:00
|
|
|
)
|
|
|
|
|
2023-12-06 13:44:56 +03:00
|
|
|
var update = flag.Bool("update", false, "Update tests")
|
|
|
|
|
2022-12-03 21:00:47 +03:00
|
|
|
func TestInterp(t *testing.T) {
|
2023-12-06 13:44:56 +03:00
|
|
|
fqtest.TestPath(t, interp.DefaultRegistry, *update)
|
2020-06-08 03:29:51 +03:00
|
|
|
}
|