feat(makefile): improvements to the makefile and use gotestsum [EE-5439] (#8906)

* makefile improvements. use gotestsum

* increase timeout
This commit is contained in:
Matt Hook
2023-05-05 14:35:32 +12:00
committed by GitHub
parent cfed481d6e
commit f092b85f55
3 changed files with 36 additions and 30 deletions

View File

@@ -18,7 +18,7 @@ func TestGet(t *testing.T) {
return
}
result := Get(data, "data.yesterday", "sunrise")
fmt.Printf("result: %s", result)
fmt.Printf("result: %s\n", result)
expected := "06:19"
assert.Equal(t, expected, result)
})
@@ -31,7 +31,7 @@ func TestGet(t *testing.T) {
return
}
result := Get(data, "data.yesterday", "sunrise")
fmt.Printf("result: %s", result)
fmt.Printf("result: %s\n", result)
expected := ""
assert.Equal(t, expected, result)
})