channeldb/migration_01_to_11: add references to untested migrations

This commit is contained in:
Joost Jager committed 2019-10-29 11:49:33 +01:00
1 parent 6913cd64b6
commit 43449ca7a7
1 file changed
+11
@@ -950,3 +950,14 @@ func TestPaymentRouteSerialization(t *testing.T) {
MigrateRouteSerialization,
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
}