Skip to content

Commit

Permalink
sync-mr
Browse files Browse the repository at this point in the history
  • Loading branch information
bundleman committed Mar 3, 2022
1 parent a000302 commit 2903d04
Show file tree
Hide file tree
Showing 193 changed files with 352 additions and 159 deletions.
3 changes: 2 additions & 1 deletion e2e/cli.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,14 @@ import (
"encoding/json"
"flag"
"fmt"
"github.com/rs/zerolog"
"io/ioutil"
"os"
"os/signal"
"path/filepath"
"strings"

"github.com/rs/zerolog"

"github.com/MontFerret/ferret"
"github.com/MontFerret/ferret/pkg/drivers/cdp"
"github.com/MontFerret/ferret/pkg/drivers/http"
Expand Down
3 changes: 2 additions & 1 deletion pkg/compiler/compiler_array_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,10 @@ package compiler_test

import (
"context"
"testing"

"github.com/MontFerret/ferret/pkg/compiler"
. "github.com/smartystreets/goconvey/convey"
"testing"
)

func TestArrayOperator(t *testing.T) {
Expand Down
3 changes: 2 additions & 1 deletion pkg/compiler/compiler_collect_aggregate_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,11 @@ package compiler_test

import (
"context"
"testing"

"github.com/MontFerret/ferret/pkg/compiler"
"github.com/MontFerret/ferret/pkg/runtime"
. "github.com/smartystreets/goconvey/convey"
"testing"
)

func TestAggregate(t *testing.T) {
Expand Down
3 changes: 2 additions & 1 deletion pkg/compiler/compiler_collect_count_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,11 @@ package compiler_test

import (
"context"
"testing"

"github.com/MontFerret/ferret/pkg/compiler"
"github.com/MontFerret/ferret/pkg/runtime"
. "github.com/smartystreets/goconvey/convey"
"testing"
)

func TestCollectCount(t *testing.T) {
Expand Down
3 changes: 2 additions & 1 deletion pkg/compiler/compiler_collect_into_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,11 @@ package compiler_test

import (
"context"
"testing"

"github.com/MontFerret/ferret/pkg/compiler"
"github.com/MontFerret/ferret/pkg/runtime"
. "github.com/smartystreets/goconvey/convey"
"testing"
)

func TestCollectInto(t *testing.T) {
Expand Down
3 changes: 2 additions & 1 deletion pkg/compiler/compiler_collect_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,11 @@ package compiler_test

import (
"context"
"testing"

"github.com/MontFerret/ferret/pkg/compiler"
"github.com/MontFerret/ferret/pkg/runtime"
. "github.com/smartystreets/goconvey/convey"
"testing"
)

func TestCollect(t *testing.T) {
Expand Down
3 changes: 2 additions & 1 deletion pkg/compiler/compiler_collect_with_count_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,11 @@ package compiler_test

import (
"context"
"testing"

"github.com/MontFerret/ferret/pkg/compiler"
"github.com/MontFerret/ferret/pkg/runtime"
. "github.com/smartystreets/goconvey/convey"
"testing"
)

func TestCollectWithCount(t *testing.T) {
Expand Down
3 changes: 2 additions & 1 deletion pkg/compiler/compiler_eq_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,11 @@ package compiler_test

import (
"context"
"testing"

"github.com/MontFerret/ferret/pkg/compiler"
"github.com/MontFerret/ferret/pkg/runtime"
. "github.com/smartystreets/goconvey/convey"
"testing"
)

func TestEqualityOperators(t *testing.T) {
Expand Down
3 changes: 2 additions & 1 deletion pkg/compiler/compiler_filter_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,12 @@ package compiler_test

import (
"context"
"testing"

"github.com/MontFerret/ferret/pkg/compiler"
"github.com/MontFerret/ferret/pkg/runtime/core"
"github.com/MontFerret/ferret/pkg/runtime/values"
. "github.com/smartystreets/goconvey/convey"
"testing"
)

func TestForFilter(t *testing.T) {
Expand Down
3 changes: 2 additions & 1 deletion pkg/compiler/compiler_for_ternary_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,10 @@ package compiler_test

import (
"context"
"testing"

"github.com/MontFerret/ferret/pkg/compiler"
. "github.com/smartystreets/goconvey/convey"
"testing"
)

func TestForTernaryExpression(t *testing.T) {
Expand Down
5 changes: 3 additions & 2 deletions pkg/compiler/compiler_for_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,12 @@ package compiler_test
import (
"context"
"encoding/json"
"sort"
"testing"

"github.com/MontFerret/ferret/pkg/compiler"
"github.com/MontFerret/ferret/pkg/runtime"
. "github.com/smartystreets/goconvey/convey"
"sort"
"testing"
)

func TestFor(t *testing.T) {
Expand Down
3 changes: 2 additions & 1 deletion pkg/compiler/compiler_for_while_ternary_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,12 @@ package compiler_test

import (
"context"
"testing"

"github.com/MontFerret/ferret/pkg/compiler"
"github.com/MontFerret/ferret/pkg/runtime/core"
"github.com/MontFerret/ferret/pkg/runtime/values"
. "github.com/smartystreets/goconvey/convey"
"testing"
)

func TestForTernaryWhileExpression(t *testing.T) {
Expand Down
3 changes: 2 additions & 1 deletion pkg/compiler/compiler_for_while_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,13 @@ package compiler_test

import (
"context"
"testing"

"github.com/MontFerret/ferret/pkg/compiler"
"github.com/MontFerret/ferret/pkg/runtime"
"github.com/MontFerret/ferret/pkg/runtime/core"
"github.com/MontFerret/ferret/pkg/runtime/values"
. "github.com/smartystreets/goconvey/convey"
"testing"
)

func TestForWhile(t *testing.T) {
Expand Down
3 changes: 2 additions & 1 deletion pkg/compiler/compiler_func_ns_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,12 @@ package compiler_test
import (
"context"
"fmt"
"testing"

"github.com/MontFerret/ferret/pkg/compiler"
"github.com/MontFerret/ferret/pkg/runtime/core"
"github.com/MontFerret/ferret/pkg/runtime/values"
. "github.com/smartystreets/goconvey/convey"
"testing"
)

func TestFunctionNSCall(t *testing.T) {
Expand Down
3 changes: 2 additions & 1 deletion pkg/compiler/compiler_func_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,13 @@ package compiler_test

import (
"context"
"testing"

"github.com/MontFerret/ferret/pkg/compiler"
"github.com/MontFerret/ferret/pkg/runtime/core"
"github.com/MontFerret/ferret/pkg/runtime/values"
"github.com/pkg/errors"
. "github.com/smartystreets/goconvey/convey"
"testing"
)

func TestFunctionCall(t *testing.T) {
Expand Down
3 changes: 2 additions & 1 deletion pkg/compiler/compiler_in_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,10 @@ package compiler_test

import (
"context"
"testing"

"github.com/MontFerret/ferret/pkg/compiler"
. "github.com/smartystreets/goconvey/convey"
"testing"
)

func TestInOperator(t *testing.T) {
Expand Down
3 changes: 2 additions & 1 deletion pkg/compiler/compiler_let_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,11 @@ package compiler_test

import (
"context"
"testing"

"github.com/MontFerret/ferret/pkg/compiler"
"github.com/MontFerret/ferret/pkg/runtime"
. "github.com/smartystreets/goconvey/convey"
"testing"
)

func TestLet(t *testing.T) {
Expand Down
3 changes: 2 additions & 1 deletion pkg/compiler/compiler_like_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,10 @@ package compiler_test

import (
"context"
"testing"

"github.com/MontFerret/ferret/pkg/compiler"
. "github.com/smartystreets/goconvey/convey"
"testing"
)

func TestLikeOperator(t *testing.T) {
Expand Down
3 changes: 2 additions & 1 deletion pkg/compiler/compiler_limit_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,12 @@ package compiler_test

import (
"context"
"testing"

"github.com/MontFerret/ferret/pkg/compiler"
"github.com/MontFerret/ferret/pkg/runtime/core"
"github.com/MontFerret/ferret/pkg/runtime/values"
. "github.com/smartystreets/goconvey/convey"
"testing"
)

func TestForLimit(t *testing.T) {
Expand Down
3 changes: 2 additions & 1 deletion pkg/compiler/compiler_logical_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,12 @@ package compiler_test
import (
"context"
"errors"
"testing"

"github.com/MontFerret/ferret/pkg/compiler"
"github.com/MontFerret/ferret/pkg/runtime"
"github.com/MontFerret/ferret/pkg/runtime/core"
. "github.com/smartystreets/goconvey/convey"
"testing"
)

func TestLogicalOperators(t *testing.T) {
Expand Down
3 changes: 2 additions & 1 deletion pkg/compiler/compiler_math_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,11 @@ package compiler_test

import (
"context"
"testing"

"github.com/MontFerret/ferret/pkg/compiler"
"github.com/MontFerret/ferret/pkg/runtime"
. "github.com/smartystreets/goconvey/convey"
"testing"
)

func TestMathOperators(t *testing.T) {
Expand Down
3 changes: 2 additions & 1 deletion pkg/compiler/compiler_member_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,10 @@ package compiler_test
import (
"context"
"fmt"
"github.com/MontFerret/ferret/pkg/runtime/core"
"testing"

"github.com/MontFerret/ferret/pkg/runtime/core"

"github.com/MontFerret/ferret/pkg/compiler"
. "github.com/smartystreets/goconvey/convey"
)
Expand Down
3 changes: 2 additions & 1 deletion pkg/compiler/compiler_param_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,11 @@ package compiler_test

import (
"context"
"testing"

"github.com/MontFerret/ferret/pkg/compiler"
"github.com/MontFerret/ferret/pkg/runtime"
. "github.com/smartystreets/goconvey/convey"
"testing"
)

func TestParam(t *testing.T) {
Expand Down
3 changes: 2 additions & 1 deletion pkg/compiler/compiler_precedence_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,10 @@ package compiler_test

import (
"context"
"github.com/MontFerret/ferret/pkg/compiler"
"testing"

"github.com/MontFerret/ferret/pkg/compiler"

. "github.com/smartystreets/goconvey/convey"
)

Expand Down
3 changes: 2 additions & 1 deletion pkg/compiler/compiler_range_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,10 @@ package compiler_test

import (
"context"
"testing"

"github.com/MontFerret/ferret/pkg/compiler"
. "github.com/smartystreets/goconvey/convey"
"testing"
)

func TestRangeOperator(t *testing.T) {
Expand Down
3 changes: 2 additions & 1 deletion pkg/compiler/compiler_regexp_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,10 @@ package compiler_test
import (
"context"
"fmt"
"testing"

"github.com/MontFerret/ferret/pkg/runtime/core"
"github.com/MontFerret/ferret/pkg/runtime/values"
"testing"

"github.com/MontFerret/ferret/pkg/compiler"
. "github.com/smartystreets/goconvey/convey"
Expand Down
3 changes: 2 additions & 1 deletion pkg/compiler/compiler_return_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,11 @@ package compiler_test

import (
"context"
"testing"

"github.com/MontFerret/ferret/pkg/compiler"
"github.com/MontFerret/ferret/pkg/runtime"
. "github.com/smartystreets/goconvey/convey"
"testing"
)

func TestReturn(t *testing.T) {
Expand Down
3 changes: 2 additions & 1 deletion pkg/compiler/compiler_sort_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,12 @@ package compiler_test

import (
"context"
"testing"

"github.com/MontFerret/ferret/pkg/compiler"
"github.com/MontFerret/ferret/pkg/runtime/core"
"github.com/MontFerret/ferret/pkg/runtime/values"
. "github.com/smartystreets/goconvey/convey"
"testing"
)

func TestForSort(t *testing.T) {
Expand Down
3 changes: 2 additions & 1 deletion pkg/compiler/compiler_str_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,10 @@ import (
"context"
"encoding/json"
"fmt"
"testing"

"github.com/MontFerret/ferret/pkg/compiler"
. "github.com/smartystreets/goconvey/convey"
"testing"
)

func TestString(t *testing.T) {
Expand Down
3 changes: 2 additions & 1 deletion pkg/compiler/compiler_ternary_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,10 @@ package compiler_test
import (
"context"
"fmt"
"testing"

"github.com/MontFerret/ferret/pkg/compiler"
. "github.com/smartystreets/goconvey/convey"
"testing"
)

func TestTernaryOperator(t *testing.T) {
Expand Down
Loading

0 comments on commit 2903d04

Please sign in to comment.