mirror of
https://github.com/lightningnetwork/lnd.git
synced 2025-09-01 18:27:43 +02:00
channeldb+wtdb: fix migration function name lint
Rename the ApplyMigrationWithDb function to ApplyMigrationWithDB to make the linter happy.
This commit is contained in:
@@ -84,12 +84,12 @@ func ApplyMigration(t *testing.T,
|
||||
}
|
||||
}
|
||||
|
||||
// ApplyMigrationWithDb is a helper test function that encapsulates the general
|
||||
// ApplyMigrationWithDB is a helper test function that encapsulates the general
|
||||
// steps which are needed to properly check the result of applying migration
|
||||
// function. This function differs from ApplyMigration as it requires the
|
||||
// supplied migration functions to take a db instance and construct their own
|
||||
// database transactions.
|
||||
func ApplyMigrationWithDb(t testing.TB, beforeMigration, afterMigration,
|
||||
func ApplyMigrationWithDB(t testing.TB, beforeMigration, afterMigration,
|
||||
migrationFunc func(db kvdb.Backend) error, shouldFail bool) {
|
||||
|
||||
t.Helper()
|
||||
|
Reference in New Issue
Block a user