File tree Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Original file line number Diff line number Diff line change 25
25
- name : Building docker containers using docker-compose
26
26
run : GO_MOD=go.mod docker-compose up -d --build
27
27
- name : Golang Tests
28
- run : go test -v ./...
28
+ run : go test ./...
29
29
working-directory : ./backend
30
30
frontend_testing :
31
31
runs-on : ubuntu-latest
Original file line number Diff line number Diff line change @@ -31,7 +31,7 @@ Once you've written your test it can be run with:
31
31
``` sh
32
32
# To run specifically this test
33
33
go test myTest_test.go
34
- # To run all tests
34
+ # To run all tests in the current directory and subdirectories
35
35
go test ./...
36
36
```
37
37
Original file line number Diff line number Diff line change @@ -12,5 +12,5 @@ func init() {
12
12
13
13
// package to quickly grab information regarding the execution environment
14
14
func IsTestingEnvironment () bool {
15
- return flag .Lookup ("test.v" ). Value .(flag. Getter ). Get ().( bool )
15
+ return flag .Lookup ("test.v" ) != nil
16
16
}
You can’t perform that action at this time.
0 commit comments