mirror of
https://github.com/securego/gosec.git
synced 2024-12-25 03:55:54 +00:00
Fix typos (#594)
This commit is contained in:
parent
0695fa026e
commit
569328eade
1 changed files with 2 additions and 2 deletions
|
@ -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", `
|
||||||
|
|
Loading…
Reference in a new issue