Using osFlag to fix windows worker error

Signed-off-by: Aidan Oldershaw <aoldershaw@pivotal.io>
Co-authored-by: Esteban Foronda <eforonda@vmware.com>
This commit is contained in:
Esteban Foronda 2021-05-03 13:06:29 -05:00 committed by Taylor Silva
parent 5c311157aa
commit 190ce10059
1 changed files with 1 additions and 1 deletions

View File

@ -121,7 +121,7 @@ var _ = Describe("Fly CLI", func() {
<-sess.Exited
Expect(sess.ExitCode()).To(Equal(1))
Expect(sess.Err).Should(gbytes.Say("error: the required flags `-g, --group' and `-p, --pipeline' were not specified"))
Expect(sess.Err).Should(gbytes.Say("error: the required flags `" + osFlag("g", "group") + "' and `" + osFlag("p", "pipeline") + "' were not specified"))
}).To(Change(func() int {
return len(atcServer.ReceivedRequests())
}).By(0))