verbose test output
This commit is contained in:
parent
6853f1639e
commit
080873d74b
6 changed files with 6 additions and 0 deletions
|
|
@ -26,6 +26,7 @@ func TestGetDisks(t *testing.T) {
|
|||
for _, tt := range testTable {
|
||||
t.Run(tt.name, func(t *testing.T) {
|
||||
result, err := disk.GetDisks()
|
||||
t.Logf("Result: (%v)", result)
|
||||
if fmt.Sprintf("%T", result) != "[]disk.Disk" {
|
||||
t.Errorf("expected type %T, got type %T", tt.expected, result)
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue