Skip to content
This repository was archived by the owner on May 27, 2023. It is now read-only.

Commit 192cff9

Browse files
fix some test bugs
1 parent 2574e4a commit 192cff9

File tree

4 files changed

+5
-2
lines changed

4 files changed

+5
-2
lines changed

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
11
vendor/
22
debian/
33
.idea/
4+
.vscode/
5+
.project

container/container_test.go

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ import (
66
"io/ioutil"
77
"testing"
88

9+
. "github.com/JasonYangShadow/lpmx/docker"
910
. "github.com/JasonYangShadow/lpmx/msgpack"
1011
. "github.com/JasonYangShadow/lpmx/utils"
1112
)
@@ -48,7 +49,7 @@ func TestUnmarshal(t *testing.T) {
4849
func TestJsonUnmarshal(t *testing.T) {
4950
//t.Skip("skip test")
5051
tmpdir := "/tmp"
51-
uerr := Untar("/tmp/ubuntu.tar", tmpdir, false)
52+
uerr := Untar("/tmp/ubuntu.tar", tmpdir)
5253
if uerr != nil {
5354
t.Error(uerr)
5455
}

elf/elf_test.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ package elf
22

33
import (
44
"flag"
5+
"fmt"
56
"testing"
67
)
78

yaml/yaml_test.go

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@ package yaml
22

33
import (
44
"testing"
5-
"time"
65
)
76

87
const CONFIG string = "test"

0 commit comments

Comments
 (0)