Skip to content

Commit fb0405a

Browse files
committed
Apply gofmt formatting
1 parent 2a26971 commit fb0405a

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

ctriface/iface_test.go

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,11 @@ var (
4545
isWithCache = flag.Bool("withCache", false, "Do not drop the cache before measurements")
4646
)
4747

48+
func TestMain(m *testing.M) {
49+
flag.Parse()
50+
os.Exit(m.Run())
51+
}
52+
4853
func TestPauseSnapResume(t *testing.T) {
4954
log.SetFormatter(&log.TextFormatter{
5055
TimestampFormat: ctrdlog.RFC3339NanoFixed,

vhive.go

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,6 @@ func main() {
9191
return
9292
}
9393

94-
9594
if *isUPFEnabled && !*isSnapshotsEnabled {
9695
log.Error("User-level page faults are not supported without snapshots")
9796
return

0 commit comments

Comments
 (0)