test: pretty print result
This commit is contained in:
parent
87ed8da5b8
commit
e10b50a41a
@ -2,6 +2,8 @@ package debian
|
||||
|
||||
import (
|
||||
"testing"
|
||||
|
||||
"github.com/davecgh/go-spew/spew"
|
||||
)
|
||||
|
||||
func TestGetDebianKernel(t *testing.T) {
|
||||
@ -13,4 +15,6 @@ func TestGetDebianKernel(t *testing.T) {
|
||||
if dk.Version.ABI != "4.17.0-2" {
|
||||
t.Fatalf("wrong abi")
|
||||
}
|
||||
|
||||
t.Logf("%s", spew.Sdump(dk))
|
||||
}
|
||||
|
1
go.mod
1
go.mod
@ -12,6 +12,7 @@ require (
|
||||
github.com/PuerkitoBio/goquery v1.8.1
|
||||
github.com/alecthomas/kong v0.7.1
|
||||
github.com/cavaliergopher/grab/v3 v3.0.1
|
||||
github.com/davecgh/go-spew v1.1.1
|
||||
github.com/go-git/go-git/v5 v5.6.1
|
||||
github.com/mattn/go-sqlite3 v1.14.16
|
||||
github.com/mitchellh/go-homedir v1.1.0
|
||||
|
Loading…
Reference in New Issue
Block a user