Skip to content

Commit 0874ae7

Browse files
author
eliastor
committed
unit 2 tests fix
1 parent a7c2f2e commit 0874ae7

File tree

3 files changed

+12
-1
lines changed

3 files changed

+12
-1
lines changed

.ci/unit2/e0_main_test.go.tpl

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
package main
2+
3+
import (
4+
"sort"
5+
"testing"
6+
)
7+
8+
func TestMain(t *testing.T) {
9+
t.Log("Code is for example. Nothing to test")
10+
}

.ci/unit2/exercise.test.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ cd ..
66

77
go mod init course || true
88

9+
go get github.com/brianvoe/gofakeit
910
go get github.com/stretchr/testify/assert
1011
go get golang.org/x/tour/tree
1112

.github/workflows/unit2.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ jobs:
1010
runs-on: "ubuntu-latest"
1111
strategy:
1212
matrix:
13-
excercise: [0,1,2,3]
13+
excercise: [0,1,2]
1414
steps:
1515
- uses: actions/setup-go@v3
1616
with:

0 commit comments

Comments
 (0)