From 776d35f5fa2616232cc42436023c61584f68cc8e Mon Sep 17 00:00:00 2001 From: Eugene Triguba Date: Sun, 7 Jan 2024 14:33:10 -0500 Subject: Move message normalization to create dirname to fs repo --- internal/models/migration_test.go | 7 ------- 1 file changed, 7 deletions(-) (limited to 'internal/models/migration_test.go') diff --git a/internal/models/migration_test.go b/internal/models/migration_test.go index b25f137..8d1fb06 100644 --- a/internal/models/migration_test.go +++ b/internal/models/migration_test.go @@ -27,14 +27,7 @@ func TestAppliedNewMigration(t *testing.T) { assert.Equal(t, m.String(), "20200101000000 - test_message - [x]") } -func TestNewMigrationMessageIsNormalized(t *testing.T) { - m := models.NewMigration(timestamp, " test MESSAGE ") - assert.Equal(t, m.NormalizedMessage(), "test_message") -} - func TestEmptyMessageMigration(t *testing.T) { m := models.NewMigration(timestamp, "") - - assert.Equal(t, "", m.NormalizedMessage()) assert.Equal(t, "20200101000000 - [ ]", m.String()) } -- cgit v1.2.3