verbose test output

This commit is contained in:
redanthrax 2022-06-22 16:36:38 -07:00
parent 6853f1639e
commit 080873d74b
6 changed files with 6 additions and 0 deletions

View file

@ -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)
}