Skip to content

Commit

Permalink
Fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
Yasss committed Aug 22, 2019
1 parent a3c6fcb commit 8079db3
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion backend/file/file_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -109,6 +109,8 @@ timeout = 10
b := file.NewBackend("some path", true)

err := b.Unmarshal(context.Background(), &c)
require.NoError(t, err)
require.Error(t, err)
_, ok := err.(file.ErrOpenOptionalFile)
require.True(t, ok)
})
}

0 comments on commit 8079db3

Please sign in to comment.