Add Go report card.
This commit is contained in:
parent
556578cec9
commit
b927769d5a
4 changed files with 7 additions and 12 deletions
6
internal/3rdparty/snaker/snaker_test.go
vendored
6
internal/3rdparty/snaker/snaker_test.go
vendored
|
|
@ -15,7 +15,7 @@ var _ = Describe("Snaker", func() {
|
|||
Expect(CamelToSnake("One")).To(Equal("one"))
|
||||
})
|
||||
|
||||
It("should return an uppercase string as seperate words", func() {
|
||||
It("should return an uppercase string as separate words", func() {
|
||||
Expect(CamelToSnake("ONE")).To(Equal("o_n_e"))
|
||||
})
|
||||
|
||||
|
|
@ -48,11 +48,11 @@ var _ = Describe("Snaker", func() {
|
|||
Expect(CamelToSnake("HelloHTTPSConnectionID")).To(Equal("hello_https_connection_id"))
|
||||
})
|
||||
|
||||
It("sould work with concat initialisms", func() {
|
||||
It("should work with concat initialisms", func() {
|
||||
Expect(CamelToSnake("HTTPSID")).To(Equal("https_id"))
|
||||
})
|
||||
|
||||
It("sould work with initialism where only certain characters are uppercase", func() {
|
||||
It("should work with initialism where only certain characters are uppercase", func() {
|
||||
Expect(CamelToSnake("OAuthClient")).To(Equal("oauth_client"))
|
||||
})
|
||||
})
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue