mirror of
https://github.com/navidrome/navidrome.git
synced 2025-04-03 20:47:35 +03:00
Fix tests expectations
This commit is contained in:
parent
6d8d519807
commit
46fc38bf61
4 changed files with 22 additions and 22 deletions
|
@ -18,7 +18,7 @@ var _ = Describe("Operators", func() {
|
|||
sql, args, err := op.ToSql()
|
||||
gomega.Expect(err).ToNot(gomega.HaveOccurred())
|
||||
gomega.Expect(sql).To(gomega.Equal(expectedSql))
|
||||
gomega.Expect(args).To(gomega.ConsistOf(expectedArgs...))
|
||||
gomega.Expect(args).To(gomega.HaveExactElements(expectedArgs...))
|
||||
},
|
||||
Entry("is [string]", Is{"title": "Low Rider"}, "media_file.title = ?", "Low Rider"),
|
||||
Entry("is [bool]", Is{"loved": true}, "COALESCE(annotation.starred, false) = ?", true),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue