Files
Dennis Kobert f04bbe1c5a Run migrations as documents open, in the editor and the CLI (#4865)
Run migrations as documents open, in the editor and the CLI, starting with Mix to Mix Colors
2026-10-31 12:58:23 +01:00

13 lines
446 B
Rust

//! Every migration together, since a duplicate or a cycle would fail every document with a pending migration.
use migration_core::registered_migrations;
use migration_nodes as _;
use migration_runner::order_migrations;
#[test]
fn every_migration_registers_and_orders() {
let migrations = registered_migrations();
assert!(!migrations.is_empty(), "the linker dropped the migrations' registrations");
order_migrations(&migrations).unwrap();
}