From 00aa327eb204d504f1e03dbe5a7cdec4af4ec913 Mon Sep 17 00:00:00 2001 From: Eugene Triguba Date: Sat, 13 Jan 2024 18:23:48 -0500 Subject: Rework docs, add more output, and tweak tests --- internal/repositories/migration_db_repo_test.go | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'internal/repositories/migration_db_repo_test.go') diff --git a/internal/repositories/migration_db_repo_test.go b/internal/repositories/migration_db_repo_test.go index 264b3be..a38875f 100644 --- a/internal/repositories/migration_db_repo_test.go +++ b/internal/repositories/migration_db_repo_test.go @@ -159,7 +159,10 @@ func TestMigrationDBRepo_Revert(t *testing.T) { assert.NilError(t, err) migration := models.NewMigration(time.Now(), "test") - _, err = db.Exec(`INSERT INTO bolt_migrations(version) VALUES ($1);`, migration.Version) + _, err = db.Exec( + `INSERT INTO bolt_migrations(version) VALUES ($1);`, + migration.Version, + ) assert.NilError(t, err) migration.Applied = true -- cgit v1.2.3