Skip to content

Commit

Permalink
Fix unit tests
Browse files Browse the repository at this point in the history
  • Loading branch information
iamralch committed Jul 27, 2021
1 parent edeacac commit cdfc124
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions sqlmigr/executor_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -54,9 +54,9 @@ var _ = Describe("Executor", func() {

up := &bytes.Buffer{}
fmt.Fprintln(up, "CREATE TABLE IF NOT EXISTS migrations (")
fmt.Fprintln(up, " id VARCHAR(15) NOT NULL PRIMARY KEY,")
fmt.Fprintln(up, " description TEXT NOT NULL,")
fmt.Fprintln(up, " created_at TIMESTAMP NOT NULL")
fmt.Fprintln(up, " id CHAR(15) NOT NULL PRIMARY KEY,")
fmt.Fprintln(up, " description TEXT NOT NULL,")
fmt.Fprintln(up, " created_at TIMESTAMP NOT NULL")
fmt.Fprintln(up, ");")
fmt.Fprintln(up)
Expect(string(data)).To(Equal(up.String()))
Expand Down

0 comments on commit cdfc124

Please sign in to comment.