fix: typos, naming clashes, error messages and deprecations

This commit is contained in:
Thomas Müller committed 2024-04-03 15:34:36 +02:00
1 parent 48da9cfbee
commit 07f0cd5574
107 files changed
+298 -310

No files matched your search

+2 -2
View File
@@ -46,7 +46,7 @@ func TestFromCS3Status(t *testing.T) {
for _, test := range tests {
if output := errorcode.FromCS3Status(test.status, test.err, test.ignore...); !reflect.DeepEqual(output, test.result) {
t.Error("Test Failed: {} expected, recieved: {}", test.result, output)
t.Error("Test Failed: {} expected, received: {}", test.result, output)
}
}
}
@@ -63,7 +63,7 @@ func TestFromStat(t *testing.T) {
for _, test := range tests {
if output := errorcode.FromStat(test.stat, test.err); !reflect.DeepEqual(output, test.result) {
t.Error("Test Failed: {} expected, recieved: {}", test.result, output)
t.Error("Test Failed: {} expected, received: {}", test.result, output)
}
}
}