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:
@@ -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", `
|
||||
|
||||
Reference in New Issue
Block a user