chore: update jobresult_test.go (#4124)

recieve -> receive

Signed-off-by: Ikko Eltociear Ashimine <eltociear@gmail.com>
This commit is contained in:
Ikko Eltociear Ashimine 2024-11-12 16:52:18 +09:00 committed by GitHub
parent 7903e1f6fa
commit 9688f516e0
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -11,7 +11,7 @@ import (
) )
var _ = Describe("pkg/concurrency unit tests", func() { var _ = Describe("pkg/concurrency unit tests", func() {
It("can be used to recieve a result across goroutines", func() { It("can be used to receive a result across goroutines", func() {
jr, wjr := NewJobResult[string, string]("foo") jr, wjr := NewJobResult[string, string]("foo")
Expect(jr).ToNot(BeNil()) Expect(jr).ToNot(BeNil())
Expect(wjr).ToNot(BeNil()) Expect(wjr).ToNot(BeNil())
@ -30,7 +30,7 @@ var _ = Describe("pkg/concurrency unit tests", func() {
}) })
It("can be used to recieve an error across goroutines", func() { It("can be used to receive an error across goroutines", func() {
jr, wjr := NewJobResult[string, string]("foo") jr, wjr := NewJobResult[string, string]("foo")
Expect(jr).ToNot(BeNil()) Expect(jr).ToNot(BeNil())
Expect(wjr).ToNot(BeNil()) Expect(wjr).ToNot(BeNil())