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:
parent
cfed481d6e
commit
f092b85f55
3 changed files with 36 additions and 30 deletions
|
@ -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)
|
||||
})
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue