empty backend type

This commit is contained in:
Chapuis Bertil 2015-09-09 10:46:54 +02:00
parent 65767fc061
commit e69d5b7615
2 changed files with 3 additions and 6 deletions

View file

@ -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")
}