1
0
Fork 0
mirror of https://github.com/Mic92/sops-nix.git synced 2025-03-30 20:04:35 +00:00

TestIsValidFormat: don't use deprecated golang function

This commit is contained in:
Jörg Thalheim 2023-02-01 22:08:03 +01:00
parent 64431c9fc4
commit f234b0c865
No known key found for this signature in database

View file

@ -349,7 +349,6 @@ func TestIsValidFormat(t *testing.T) {
}
for _, format := range []string{string(Yaml), string(Json), string(Binary), string(Dotenv)} {
generateCase(format, true)
generateCase(strings.Title(format), false)
generateCase(strings.ToUpper(format), false)
}
}