diff --git a/go/tests/Dockerfile b/go/tests/Dockerfile index 6d1fd0a9..9c03b5fb 100644 --- a/go/tests/Dockerfile +++ b/go/tests/Dockerfile @@ -11,7 +11,6 @@ RUN touch /piscine-go/go.mod WORKDIR /public/go/tests COPY go.* ./ RUN go mod download -COPY base base COPY func func COPY lib lib COPY prog prog diff --git a/go/tests/func/atoibase_test/main.go b/go/tests/func/atoibase_test/main.go index e812b3cc..afbd5c7d 100644 --- a/go/tests/func/atoibase_test/main.go +++ b/go/tests/func/atoibase_test/main.go @@ -3,8 +3,8 @@ package main import ( student "student" - "github.com/01-edu/public/go/tests/base" "github.com/01-edu/public/go/tests/lib" + "github.com/01-edu/public/go/tests/lib/base" ) func main() { diff --git a/go/tests/func/convertbase_test/main.go b/go/tests/func/convertbase_test/main.go index 9acd0659..70086cab 100644 --- a/go/tests/func/convertbase_test/main.go +++ b/go/tests/func/convertbase_test/main.go @@ -3,8 +3,8 @@ package main import ( student "student" - "github.com/01-edu/public/go/tests/base" "github.com/01-edu/public/go/tests/lib" + "github.com/01-edu/public/go/tests/lib/base" ) func convertNbrBase(n int, base string) string { diff --git a/go/tests/func/printnbrbase_test/main.go b/go/tests/func/printnbrbase_test/main.go index b89d4984..5e13db0d 100644 --- a/go/tests/func/printnbrbase_test/main.go +++ b/go/tests/func/printnbrbase_test/main.go @@ -5,8 +5,8 @@ import ( student "student" - "github.com/01-edu/public/go/tests/base" "github.com/01-edu/public/go/tests/lib" + "github.com/01-edu/public/go/tests/lib/base" ) func printNbrBase(n int, b string) { diff --git a/go/tests/base/base.go b/go/tests/lib/base/base.go similarity index 100% rename from go/tests/base/base.go rename to go/tests/lib/base/base.go