mirror of
https://github.com/mudler/LocalAI.git
synced 2024-12-18 20:27:57 +00:00
chore: update jobresult_test.go (#4124)
recieve -> receive Signed-off-by: Ikko Eltociear Ashimine <eltociear@gmail.com>
This commit is contained in:
parent
7903e1f6fa
commit
9688f516e0
@ -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())
|
||||||
|
Loading…
Reference in New Issue
Block a user