Skip to content

Commit

Permalink
✨ enhance: Improve error message in TestAccDockerContainer_uploadAsBa…
Browse files Browse the repository at this point in the history
…se64.
  • Loading branch information
enc committed May 8, 2024
1 parent 5093dbe commit 0844849
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/provider/resource_docker_container_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -872,7 +872,7 @@ func TestAccDockerContainer_uploadAsBase64(t *testing.T) {
} else {
mode := strconv.FormatInt(header.Mode, 8)
if !strings.HasSuffix(mode, filePerm) {
return fmt.Errorf("File permissions are incorrect: %s", mode)
return fmt.Errorf("File permissions are incorrect: %s; wanted: %s", mode, filePerm)
}
}

Expand Down

0 comments on commit 0844849

Please sign in to comment.