mirror of
https://github.com/restic/rest-server.git
synced 2026-04-14 22:21:44 -07:00
empty backend type
This commit is contained in:
@@ -50,12 +50,12 @@ func TestBackendType(t *testing.T) {
|
||||
var bt backend.Type
|
||||
|
||||
bt = BackendType("/")
|
||||
if !bt.IsNull() {
|
||||
if bt != "" {
|
||||
t.Error("backend type should be nil")
|
||||
}
|
||||
|
||||
bt = BackendType("/test")
|
||||
if !bt.IsNull() {
|
||||
if bt != "" {
|
||||
t.Error("backend type should be nil")
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user