channeldb/migration_01_to_11: add references to untested migrations

This commit is contained in:
Joost Jager 2019-10-29 11:49:07 +01:00
parent 6913cd64b6
commit 43449ca7a7
No known key found for this signature in database
GPG Key ID: A61B9D4C393C59C7

@ -950,3 +950,14 @@ func TestPaymentRouteSerialization(t *testing.T) {
MigrateRouteSerialization, MigrateRouteSerialization,
false) false)
} }
// TestNotCoveredMigrations only references migrations that are not referenced
// anywhere else in this package. This prevents false positives when linting
// with unused.
func TestNotCoveredMigrations(t *testing.T) {
_ = MigrateNodeAndEdgeUpdateIndex
_ = MigrateInvoiceTimeSeries
_ = MigrateInvoiceTimeSeriesOutgoingPayments
_ = MigrateEdgePolicies
_ = MigratePruneEdgeUpdateIndex
}