Skip to content

Commit

Permalink
chore(imports): switch to coreos boltDB fork
Browse files Browse the repository at this point in the history
Update BoltDB import to maintained fork and remove redundant test:
LoadAliases created dbpath.
  • Loading branch information
gnanderson committed Mar 15, 2018
1 parent dfbff1f commit 27927fe
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 8 deletions.
2 changes: 1 addition & 1 deletion cmd/wol/alias.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import (
"path"
"sync"

"github.com/boltdb/bolt"
bolt "github.com/coreos/bbolt"
)

const (
Expand Down
7 changes: 0 additions & 7 deletions cmd/wol/alias_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -60,13 +60,6 @@ func TestEncodeFromMacIface(test *testing.T) {
}
}

// Validate that an invalid db path errors out
func TestInvalidDbPath(test *testing.T) {
aliases, err := LoadAliases("./dir/no/existy/_test_TestInvalidDbPath")
assert.NotNil(test, err)
assert.Nil(test, aliases)
}

//////////////////////////////////////////////////////////////////////////////
// Test suite: AliasDBTests
// Validate various parts of the DB functionality which needs
Expand Down

0 comments on commit 27927fe

Please sign in to comment.