1
0
Fork 0
mirror of https://github.com/portainer/portainer.git synced 2025-07-22 14:59:41 +02:00

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
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
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)
})