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 49ef13c commit d421186
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tools/common/schema/updatetask_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -142,13 +142,13 @@ func (s *UpdateTaskTestSuite) TestReadSchemaDirFromEmbeddings() {
s.NoError(err)
ans, err = readSchemaDir(fsys, "0.1", "")
s.NoError(err)
s.Equal([]string{}, ans)
s.Nil(ans, "no version dirs found after 0.1")

fsys, err = fs.Sub(sqlite.SchemaFS, "visibility/versioned")
s.NoError(err)
ans, err = readSchemaDir(fsys, "0.1", "")
s.NoError(err)
s.Equal([]string{}, ans)
s.Nil(ans, "no version dirs found after 0.1")

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

0 comments on commit d421186

Please sign in to comment.