aboutsummaryrefslogtreecommitdiffstats
path: root/internal/models/migration_test.go
diff options
context:
space:
mode:
authorEugene Triguba <eugenetriguba@gmail.com>2024-01-07 14:33:10 -0500
committerEugene Triguba <eugenetriguba@gmail.com>2024-01-07 14:33:10 -0500
commit776d35f5fa2616232cc42436023c61584f68cc8e (patch)
treeac7c8828a681b58b835e54f06ab074852cdcda59 /internal/models/migration_test.go
parentTweak comments (diff)
downloadcli-776d35f5fa2616232cc42436023c61584f68cc8e.zip
Move message normalization to create dirname to fs repo
Diffstat (limited to 'internal/models/migration_test.go')
-rw-r--r--internal/models/migration_test.go7
1 files changed, 0 insertions, 7 deletions
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())
}