Browse Source

Move base in lib

pull/768/head
xpetit 3 years ago
parent
commit
08dc57d613
No known key found for this signature in database
GPG Key ID: 97C60669182C17A5
  1. 1
      go/tests/Dockerfile
  2. 2
      go/tests/func/atoibase_test/main.go
  3. 2
      go/tests/func/convertbase_test/main.go
  4. 2
      go/tests/func/printnbrbase_test/main.go
  5. 0
      go/tests/lib/base/base.go

1
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

2
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() {

2
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 {

2
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) {

0
go/tests/base/base.go → go/tests/lib/base/base.go

Loading…
Cancel
Save