Skip to content

Commit

Permalink
fix module name (#4)
Browse files Browse the repository at this point in the history
* fix module name
  • Loading branch information
rekby authored Aug 28, 2021
1 parent 226fe49 commit c79c816
Show file tree
Hide file tree
Showing 7 changed files with 12 additions and 7 deletions.
2 changes: 1 addition & 1 deletion env_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -411,7 +411,7 @@ func Test_MakeCacheKey(t *testing.T) {
envFunc()
at.NoError(err)

expected := cacheKey(`{"func":"fixenv.Test_MakeCacheKey","fname":".../env_test.go","scope":0,"scope_name":"asdf","params":222}`)
expected := cacheKey(`{"func":"github.com/rekby/fixenv.Test_MakeCacheKey","fname":".../env_test.go","scope":0,"scope_name":"asdf","params":222}`)
at.JSONEq(string(expected), string(res))
}

Expand Down
3 changes: 2 additions & 1 deletion examples/custom_env/custom_env_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,13 @@ package custom_env

import (
"context"
"fixenv"
"io"
"net/http"
"net/http/httptest"
"testing"

"github.com/rekby/fixenv"

"github.com/stretchr/testify/assert"
)

Expand Down
Original file line number Diff line number Diff line change
@@ -1,12 +1,13 @@
package custom_env_with_shared_content

import (
"fixenv"
"io"
"net/http"
"net/http/httptest"
"testing"

"github.com/rekby/fixenv"

"github.com/stretchr/testify/assert"
)

Expand Down
3 changes: 2 additions & 1 deletion examples/simple/http_server_test.go
Original file line number Diff line number Diff line change
@@ -1,12 +1,13 @@
package simple

import (
"fixenv"
"io"
"net/http"
"net/http/httptest"
"testing"

"github.com/rekby/fixenv"

"github.com/stretchr/testify/assert"
)

Expand Down
3 changes: 2 additions & 1 deletion examples/simple/package_scope_test.go
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
package simple

import (
"fixenv"
"testing"

"github.com/rekby/fixenv"
)

var (
Expand Down
3 changes: 2 additions & 1 deletion examples/simple/simple_test.go
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
package simple

import (
"fixenv"
"testing"

"github.com/rekby/fixenv"
)

var (
Expand Down
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
module fixenv
module github.com/rekby/fixenv

go 1.16

Expand Down

0 comments on commit c79c816

Please sign in to comment.