Skip to content

Commit

Permalink
fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
arzonus committed Feb 5, 2025
1 parent 32840a6 commit 49ef13c
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions tools/common/schema/updatetask_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -140,15 +140,15 @@ func (s *UpdateTaskTestSuite) TestReadSchemaDirFromEmbeddings() {
// SQLite
fsys, err = fs.Sub(sqlite.SchemaFS, "cadence/versioned")
s.NoError(err)
ans, err = readSchemaDir(fsys, "0.3", "")
ans, err = readSchemaDir(fsys, "0.1", "")
s.NoError(err)
s.Equal([]string{"v0.4", "v0.5", "v0.6"}, ans)
s.Equal([]string{}, ans)

fsys, err = fs.Sub(sqlite.SchemaFS, "visibility/versioned")
s.NoError(err)
ans, err = readSchemaDir(fsys, "0.5", "")
ans, err = readSchemaDir(fsys, "0.1", "")
s.NoError(err)
s.Equal([]string{"v0.6", "v0.7"}, ans)
s.Equal([]string{}, ans)

// Postgres
fsys, err = fs.Sub(postgres.SchemaFS, "cadence/versioned")
Expand Down

0 comments on commit 49ef13c

Please sign in to comment.