Skip to content

Commit

Permalink
move square logic into root package
Browse files Browse the repository at this point in the history
  • Loading branch information
cmwaters committed Jul 12, 2024
1 parent 1ef3988 commit 8e8ff9e
Show file tree
Hide file tree
Showing 6 changed files with 4 additions and 4 deletions.
File renamed without changes.
4 changes: 2 additions & 2 deletions square/builder_test.go → builder_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@ import (
"math/rand"
"testing"

"github.com/celestiaorg/go-square"
"github.com/celestiaorg/go-square/internal/test"
"github.com/celestiaorg/go-square/share"
"github.com/celestiaorg/go-square/square"
"github.com/stretchr/testify/assert"
"github.com/stretchr/testify/require"
)
Expand Down Expand Up @@ -365,5 +365,5 @@ func TestBigBlock(t *testing.T) {
assert.Equal(t, 2234, index)
}

//go:embed "testdata/big_block.json"
//go:embed "internal/testdata/big_block.json"
var bigBlockJSON string
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import (
"fmt"
"testing"

"github.com/celestiaorg/go-square/square"
"github.com/celestiaorg/go-square"
"github.com/stretchr/testify/require"
)

Expand Down
2 changes: 1 addition & 1 deletion square/square_test.go → square_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@ import (
"fmt"
"testing"

"github.com/celestiaorg/go-square"
"github.com/celestiaorg/go-square/internal/test"
"github.com/celestiaorg/go-square/share"
"github.com/celestiaorg/go-square/square"
"github.com/stretchr/testify/assert"
"github.com/stretchr/testify/require"
)
Expand Down

0 comments on commit 8e8ff9e

Please sign in to comment.