minor fixes
This commit is contained in:
parent
d2ff22b853
commit
6ad68d9a28
|
@ -21,9 +21,9 @@ Radiance requires further requires Go 1.19. Using Go 1.18 or Go 1.20 will not wo
|
|||
Here's a trick to download another Go version in case you have the wrong one.
|
||||
(See [Managing Go versions](https://golang.org/doc/manage-install))
|
||||
|
||||
go get golang.org/dl/go1.19.8
|
||||
go1.19.8 download
|
||||
alias go=go1.19.8
|
||||
go install golang.org/dl/go1.19.8@latest
|
||||
"$(go env GOPATH)/bin/go1.19.8" download
|
||||
alias go="$(go env GOPATH)/bin/go1.19.8"
|
||||
|
||||
Once your Go toolchain and build dependencies are installed, you can build Radiance as usual:
|
||||
|
||||
|
|
|
@ -1,3 +1,5 @@
|
|||
//go:build linux
|
||||
|
||||
package main
|
||||
|
||||
import (
|
||||
|
|
|
@ -1,3 +1,5 @@
|
|||
//go:build linux
|
||||
|
||||
package nftables
|
||||
|
||||
import (
|
||||
|
|
|
@ -62,7 +62,8 @@ func TestState(t *testing.T) {
|
|||
},
|
||||
},
|
||||
}
|
||||
for name, tc := range cases {
|
||||
for name, tc_ := range cases {
|
||||
tc := tc_
|
||||
t.Run(name, func(t *testing.T) {
|
||||
t.Parallel()
|
||||
state := State(mustHashFromHex(tc.pre))
|
||||
|
|
Loading…
Reference in New Issue