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:
parent
cd5b02b0c7
commit
095885bc90
18
mail_test.go
18
mail_test.go
@ -296,7 +296,8 @@ var _ = Describe("Mail", func() {
|
|||||||
err = m.Clean()
|
err = m.Clean()
|
||||||
Ω(err).ShouldNot(HaveOccurred())
|
Ω(err).ShouldNot(HaveOccurred())
|
||||||
|
|
||||||
list := m.Wordlist()
|
list, err := m.Wordlist()
|
||||||
|
Ω(err).ShouldNot(HaveOccurred())
|
||||||
sort.Strings(list)
|
sort.Strings(list)
|
||||||
|
|
||||||
Ω(list).Should(Equal(
|
Ω(list).Should(Equal(
|
||||||
@ -317,7 +318,8 @@ var _ = Describe("Mail", func() {
|
|||||||
err = m.Clean()
|
err = m.Clean()
|
||||||
Ω(err).ShouldNot(HaveOccurred())
|
Ω(err).ShouldNot(HaveOccurred())
|
||||||
|
|
||||||
list := m.Wordlist()
|
list, err := m.Wordlist()
|
||||||
|
Ω(err).ShouldNot(HaveOccurred())
|
||||||
sort.Strings(list)
|
sort.Strings(list)
|
||||||
|
|
||||||
Ω(list).Should(Equal(
|
Ω(list).Should(Equal(
|
||||||
@ -338,7 +340,8 @@ var _ = Describe("Mail", func() {
|
|||||||
err = m.Clean()
|
err = m.Clean()
|
||||||
Ω(err).ShouldNot(HaveOccurred())
|
Ω(err).ShouldNot(HaveOccurred())
|
||||||
|
|
||||||
list := m.Wordlist()
|
list, err := m.Wordlist()
|
||||||
|
Ω(err).ShouldNot(HaveOccurred())
|
||||||
sort.Strings(list)
|
sort.Strings(list)
|
||||||
|
|
||||||
Ω(list).Should(Equal(
|
Ω(list).Should(Equal(
|
||||||
@ -359,7 +362,8 @@ var _ = Describe("Mail", func() {
|
|||||||
err = m.Clean()
|
err = m.Clean()
|
||||||
Ω(err).ShouldNot(HaveOccurred())
|
Ω(err).ShouldNot(HaveOccurred())
|
||||||
|
|
||||||
list := m.Wordlist()
|
list, err := m.Wordlist()
|
||||||
|
Ω(err).ShouldNot(HaveOccurred())
|
||||||
sort.Strings(list)
|
sort.Strings(list)
|
||||||
|
|
||||||
Ω(list).Should(Equal(
|
Ω(list).Should(Equal(
|
||||||
@ -380,7 +384,8 @@ var _ = Describe("Mail", func() {
|
|||||||
err = m.Clean()
|
err = m.Clean()
|
||||||
Ω(err).ShouldNot(HaveOccurred())
|
Ω(err).ShouldNot(HaveOccurred())
|
||||||
|
|
||||||
list := m.Wordlist()
|
list, err := m.Wordlist()
|
||||||
|
Ω(err).ShouldNot(HaveOccurred())
|
||||||
sort.Strings(list)
|
sort.Strings(list)
|
||||||
|
|
||||||
Ω(list).Should(Equal(
|
Ω(list).Should(Equal(
|
||||||
@ -401,7 +406,8 @@ var _ = Describe("Mail", func() {
|
|||||||
err = m.Clean()
|
err = m.Clean()
|
||||||
Ω(err).ShouldNot(HaveOccurred())
|
Ω(err).ShouldNot(HaveOccurred())
|
||||||
|
|
||||||
list := m.Wordlist()
|
list, err := m.Wordlist()
|
||||||
|
Ω(err).ShouldNot(HaveOccurred())
|
||||||
sort.Strings(list)
|
sort.Strings(list)
|
||||||
|
|
||||||
Ω(list).Should(Equal(
|
Ω(list).Should(Equal(
|
||||||
|
Loading…
Reference in New Issue
Block a user