Skip to content

Commit 8289f6a

Browse files
authored
Fix error wrapping in tests (#152)
1 parent b88f00b commit 8289f6a

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

cmd/sync/aws_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ func TestValidateAWSConfigValid(t *testing.T) {
8989

9090
err := validateAWSConfig(cfg)
9191
if err != nil {
92-
t.Errorf("validateAWSConfig() failed for the valid config: %w", err)
92+
t.Errorf("validateAWSConfig() failed for the valid config: %v", err)
9393
}
9494
}
9595

cmd/sync/azure_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ func TestValidateAzureConfigValid(t *testing.T) {
9595

9696
err := validateAzureConfig(cfg)
9797
if err != nil {
98-
t.Errorf("validateAzureConfig() failed for the valid config: %w", err)
98+
t.Errorf("validateAzureConfig() failed for the valid config: %v", err)
9999
}
100100
}
101101

0 commit comments

Comments
 (0)