aboutsummaryrefslogtreecommitdiffstats
path: root/core_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'core_test.go')
-rw-r--r--core_test.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/core_test.go b/core_test.go
index b89e23f..d1905cb 100644
--- a/core_test.go
+++ b/core_test.go
@@ -8,7 +8,7 @@ import (
)
func TestNewBom(t *testing.T) {
- b := makeTestBom()
+ b, _ := makeTestBom()
if b == nil {
t.Errorf("Something went wrong")
}
@@ -16,7 +16,7 @@ func TestNewBom(t *testing.T) {
func TestBomJSONDump(t *testing.T) {
- b := makeTestBom()
+ b, _ := makeTestBom()
enc := json.NewEncoder(os.Stdout)
if err := enc.Encode(b); err != nil {