all: fix go-critic linter suggestions
This commit is contained in:
parent
44abf6473e
commit
06c9f76cd2
24 changed files with 66 additions and 66 deletions
|
@ -24,7 +24,7 @@ func TestNewNameEncryptionMode(t *testing.T) {
|
|||
{"off", NameEncryptionOff, ""},
|
||||
{"standard", NameEncryptionStandard, ""},
|
||||
{"obfuscate", NameEncryptionObfuscated, ""},
|
||||
{"potato", NameEncryptionMode(0), "Unknown file name encryption mode \"potato\""},
|
||||
{"potato", NameEncryptionOff, "Unknown file name encryption mode \"potato\""},
|
||||
} {
|
||||
actual, actualErr := NewNameEncryptionMode(test.in)
|
||||
assert.Equal(t, actual, test.expected)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue