From 8fafb9485366c83d8ce638f7f35c107eb6642fd3 Mon Sep 17 00:00:00 2001 From: Shun Min Chang Date: Wed, 17 Aug 2022 16:34:20 +0800 Subject: [PATCH] Fix the wrong version number on `migration_test` --- examples/migrations_example/test/migration_test.dart | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/migrations_example/test/migration_test.dart b/examples/migrations_example/test/migration_test.dart index cddf7788..997a54a7 100644 --- a/examples/migrations_example/test/migration_test.dart +++ b/examples/migrations_example/test/migration_test.dart @@ -32,7 +32,7 @@ void main() { targetVersion <= currentSchema; targetVersion++) { test('to v$targetVersion', () async { - final connection = await verifier.startAt(1); + final connection = await verifier.startAt(oldVersion); final db = Database(connection); addTearDown(db.close);