2
0
mirror of https://github.com/carlostrub/sisyphus synced 2024-11-10 01:10:50 +00:00

fix tests where err variable was missing in wordlist

This commit is contained in:
Carlo Strub 2017-05-10 17:34:58 +00:00
parent cd5b02b0c7
commit 095885bc90

View File

@ -296,7 +296,8 @@ var _ = Describe("Mail", func() {
err = m.Clean()
Ω(err).ShouldNot(HaveOccurred())
list := m.Wordlist()
list, err := m.Wordlist()
Ω(err).ShouldNot(HaveOccurred())
sort.Strings(list)
Ω(list).Should(Equal(
@ -317,7 +318,8 @@ var _ = Describe("Mail", func() {
err = m.Clean()
Ω(err).ShouldNot(HaveOccurred())
list := m.Wordlist()
list, err := m.Wordlist()
Ω(err).ShouldNot(HaveOccurred())
sort.Strings(list)
Ω(list).Should(Equal(
@ -338,7 +340,8 @@ var _ = Describe("Mail", func() {
err = m.Clean()
Ω(err).ShouldNot(HaveOccurred())
list := m.Wordlist()
list, err := m.Wordlist()
Ω(err).ShouldNot(HaveOccurred())
sort.Strings(list)
Ω(list).Should(Equal(
@ -359,7 +362,8 @@ var _ = Describe("Mail", func() {
err = m.Clean()
Ω(err).ShouldNot(HaveOccurred())
list := m.Wordlist()
list, err := m.Wordlist()
Ω(err).ShouldNot(HaveOccurred())
sort.Strings(list)
Ω(list).Should(Equal(
@ -380,7 +384,8 @@ var _ = Describe("Mail", func() {
err = m.Clean()
Ω(err).ShouldNot(HaveOccurred())
list := m.Wordlist()
list, err := m.Wordlist()
Ω(err).ShouldNot(HaveOccurred())
sort.Strings(list)
Ω(list).Should(Equal(
@ -401,7 +406,8 @@ var _ = Describe("Mail", func() {
err = m.Clean()
Ω(err).ShouldNot(HaveOccurred())
list := m.Wordlist()
list, err := m.Wordlist()
Ω(err).ShouldNot(HaveOccurred())
sort.Strings(list)
Ω(list).Should(Equal(