mirror of
https://github.com/anyproto/anytype-heart.git
synced 2025-06-09 17:44:59 +09:00
GO-3147 fix test
This commit is contained in:
parent
ba6a329a77
commit
ebc672532e
1 changed files with 2 additions and 2 deletions
|
@ -93,14 +93,14 @@ func Test_transformBadgerError(t *testing.T) {
|
|||
if tt.pathseparator != "" && tt.pathseparator != string(os.PathSeparator) {
|
||||
t.Skipf("Test is not applicable for the current platform")
|
||||
}
|
||||
resultErr := transformBadgerError(tt.args.err)
|
||||
resultErr := anonymizeBadgerError(tt.args.err)
|
||||
|
||||
if tt.wantErr == nil {
|
||||
require.Nil(t, resultErr)
|
||||
return
|
||||
}
|
||||
|
||||
require.EqualError(t, transformBadgerError(tt.args.err), tt.wantErr.Error())
|
||||
require.EqualError(t, anonymizeBadgerError(tt.args.err), tt.wantErr.Error())
|
||||
})
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue