chore: remove repetitive words

Signed-off-by: veryyet <zhengxingru@outlook.com>
This commit is contained in:
veryyet 2024-03-21 14:23:15 +08:00
parent a0f72b6995
commit f384a5a992
4 changed files with 6 additions and 6 deletions

View File

@ -138,7 +138,7 @@ var _ = Describe("ResourceCheckRateLimiter", func() {
case <-time.After(100 * time.Millisecond):
}
By("unblocking after the the new rate limit elapses")
By("unblocking after the new rate limit elapses")
fakeClock.Increment(checkInterval / time.Duration(checkableCount))
Expect(<-done).To(Succeed())

View File

@ -403,7 +403,7 @@ var _ = Describe("Scheduler", func() {
fakeJob.HasNewInputsReturns(false)
})
It("doesn't mark the the job as not having new inputs again", func() {
It("doesn't mark the job as not having new inputs again", func() {
Expect(fakeJob.SetHasNewInputsCallCount()).To(Equal(0))
})
})

View File

@ -27,7 +27,7 @@ type SAMLFlags struct {
EmailAttr string `long:"email-attr" default:"email" description:"The email indicates which claim to use to map an external user email to a Concourse user email."`
GroupsAttr string `long:"groups-attr" default:"groups" description:"The groups key indicates which attribute to use to map external groups to Concourse teams."`
GroupsDelim string `long:"groups-delim" description:"If specified, groups are returned as string, this delimiter will be used to split the group string."`
NameIDPolicyFormat string `long:"name-id-policy-format" description:"Requested format of the NameID. The NameID value is is mapped to the ID Token 'sub' claim."`
NameIDPolicyFormat string `long:"name-id-policy-format" description:"Requested format of the NameID. The NameID value is mapped to the ID Token 'sub' claim."`
InsecureSkipVerify bool `long:"skip-ssl-validation" description:"Skip SSL validation"`
}

View File

@ -97,14 +97,14 @@ run:
})
})
Context("when required vars are passed from from command line using -v", func() {
Context("when required vars are passed from command line using -v", func() {
It("successfully runs external task via fly execute", func() {
execS := flyIn(fixture, "execute", "-c", "task.yml", "-v", "image_resource_type=mock", "-v", "echo_text=Hello World From Command Line")
Expect(execS).To(gbytes.Say("Hello World From Command Line"))
})
})
Context("when required vars are passed from from command line using -v", func() {
Context("when required vars are passed from command line using -v", func() {
It("successfully runs external task via fly execute", func() {
varsContents := `
image_resource_type: mock
@ -121,7 +121,7 @@ echo_text: Hello World From Command Line
})
})
Context("when not all required vars are passed from from command line", func() {
Context("when not all required vars are passed from command line", func() {
It("fails external task via fly execute due to an uninterpolated variable", func() {
execS := spawnFlyIn(fixture, "execute", "-c", "task.yml", "-v", "image_resource_type=mock")
<-execS.Exited