forked from LaconicNetwork/kompose
chore: require go >=1.18, bump deps and get rid of replace directives (#1552)
This commit is contained in:
1 parent
d4001c92b2
commit
cb41c16bf4
10 files changed
+536
-363
No files matched your search
@@ -3,7 +3,6 @@ package cmd
|
||||
import (
|
||||
"bytes"
|
||||
"fmt"
|
||||
"io/ioutil"
|
||||
"os"
|
||||
"os/exec"
|
||||
"testing"
|
||||
@@ -23,7 +22,7 @@ func Test_stdin(t *testing.T) {
|
||||
if err != nil {
|
||||
fmt.Println("error", err)
|
||||
}
|
||||
g, err := ioutil.ReadFile("/tmp/output-k8s.json")
|
||||
g, err := os.ReadFile("/tmp/output-k8s.json")
|
||||
if !bytes.Equal(output, g) {
|
||||
t.Errorf("Test Failed")
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user