-
Hi team, I'm using testify to testing my method but encounter this issue (It only occur if using matchedBy arg)
When I using mock following by example but got error when using mockCall.Unset().
play…
-
If too many calls with the same exact inputs happen, the error report is extremely confusing:
```
mock: Unexpected Method Call
---------------------------
MyFunc(...)
0: 'a'
The closest…
-
`kong.Request.GetHeaders` should return a map with the headers normalised in lower case. ( https://github.com/Kong/go-pdk/blob/4deec45a5bfe421a0ceebcbf7931d395250949b0/request/request.go#L179-L180 )
…
-
Hiya, we get a panic when trying to test a plugin that looks for a request parameter that is not always provided.
i.e.
```shell
~/src/tmp/go-pdk-bug % go test -v .
=== RUN TestPlugin
tes…
-
### Is there an existing issue for this?
- [X] I have searched the existing issues
### Describe the bug
A Lexer can define multiple glob pattern that it matches using the `` tag in the lexer XML co…
frapa updated
5 months ago
-
### What happened?
We updated to the latest AWS provider, and our DMS updates started hitting this:
```text
aws:dms:ReplicationTask (foo-dms):
error: aws:dms/replicationTask:ReplicationT…
-
## Bug Report
### 1. Describe the bug
### 2. Minimal reproduce step (Required)
CI (make unit_test_in_verify_ci).
### 3. What did you see instead (Required)
CI (make unit_test_in…
-
root@k8s-one:~/bfe# make
go: downloading github.com/baidu/go-lib v0.0.0-20200819072111-21df249f5e6a
go: downloading github.com/spaolacci/murmur3 v1.1.0
go: downloading gopkg.in/gcfg.v1 v1.2.3
go: …
ttycc updated
3 months ago
-
### Observed behavior
Running a server with Jetstream enabled.
```shell
=== RUN TestRegisterMetrics
2024-03-13T02:08:13.428Z INFO utils/zapAdapter.go:13 Starting nats-server
2024…
-
When calling `Response.Exit()`, code hangs.
Example for reproduction:
Set `shouldExit` to `true`, and the test hangs.
Set `shouldExit` to `false` and the test does _not_ hang.
```golang
pac…