Skip to content

Commit

Permalink
Update import path to v2 in order to fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
christianrpetrin committed Mar 4, 2023
1 parent b14a1a5 commit 7b7a65a
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ package main
import (
"fmt"

"github.com/ef-ds/deque"
deque "github.com/ef-ds/deque/v2"
)

func main() {
Expand Down Expand Up @@ -55,7 +55,7 @@ package main
import (
"fmt"

"github.com/ef-ds/deque"
deque "github.com/ef-ds/deque/v2"
)

func main() {
Expand Down
2 changes: 1 addition & 1 deletion api_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ package deque_test
import (
"testing"

"github.com/ef-ds/deque"
deque "github.com/ef-ds/deque/v2"
)

func TestPopFrontWithZeroValueShouldReturnReadyToUseDeque(t *testing.T) {
Expand Down
2 changes: 1 addition & 1 deletion benchmark_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ import (
"strconv"
"testing"

"github.com/ef-ds/deque"
deque "github.com/ef-ds/deque/v2"
)

// testData contains the number of items to add to the queues in each test.
Expand Down
2 changes: 1 addition & 1 deletion doc_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package deque_test
import (
"fmt"

"github.com/ef-ds/deque"
deque "github.com/ef-ds/deque/v2"
)

func Example_fIFOQueue() {
Expand Down
2 changes: 1 addition & 1 deletion integration_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ package deque_test
import (
"testing"

"github.com/ef-ds/deque"
deque "github.com/ef-ds/deque/v2"
)

const (
Expand Down

0 comments on commit 7b7a65a

Please sign in to comment.