Fix typos (#594)

This commit is contained in:
Jeff Widman 2021-04-16 00:50:34 -07:00 committed by GitHub
parent 0695fa026e
commit 569328eade
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -230,7 +230,7 @@ var _ = Describe("Helpers", func() {
}) })
}) })
Context("when getting binary expression operands", func() { Context("when getting binary expression operands", func() {
It("should return all operands of a binary experssion", func() { It("should return all operands of a binary expression", func() {
pkg := testutils.NewTestPackage() pkg := testutils.NewTestPackage()
defer pkg.Close() defer pkg.Close()
pkg.AddFile("main.go", ` pkg.AddFile("main.go", `
@ -260,7 +260,7 @@ var _ = Describe("Helpers", func() {
operands := gosec.GetBinaryExprOperands(be) operands := gosec.GetBinaryExprOperands(be)
Expect(len(operands)).Should(Equal(2)) Expect(len(operands)).Should(Equal(2))
}) })
It("should return all operands of complex binary experssion", func() { It("should return all operands of complex binary expression", func() {
pkg := testutils.NewTestPackage() pkg := testutils.NewTestPackage()
defer pkg.Close() defer pkg.Close()
pkg.AddFile("main.go", ` pkg.AddFile("main.go", `