1
0
mirror of https://github.com/securego/gosec.git synced 2025-11-29 22:37:59 +02:00

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

View File

@@ -230,7 +230,7 @@ var _ = Describe("Helpers", 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()
defer pkg.Close()
pkg.AddFile("main.go", `
@@ -260,7 +260,7 @@ var _ = Describe("Helpers", func() {
operands := gosec.GetBinaryExprOperands(be)
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()
defer pkg.Close()
pkg.AddFile("main.go", `