-
It would be nice to have the number of times a password was pwned returned rather than just a true/false value as to whether it was actually pwned.
Then we could add an IsPwned method to the PwnedS…
-
Expect(err).ShouldNot(HaveOccurred())
or
Expect(err).ToNot(HaveOccurred())
Only give you the Expect stackTrace or the stackTrace of the DSL. We are looking for the stackTrace of the error
Exam…
-
Probably I'm missing something obvious from the docs but say I have two slices of structs that I want to compare but only on one field.
I want to write something like:
```go
Expect(actual).To(H…
-
### What happened?
`e2epod.DeletePodWithWaitByName` does (simplified)
```
err := c.CoreV1().Pods(podNamespace).Delete(ctx, podName, metav1.DeleteOptions{})
err = WaitForPodNotF…
-
/kind bug
**What steps did you take and what happened:**
When running the conformance tests, the new Experiment / [stopwatch](https://onsi.github.io/gomega/#measuring-durations-with-codestopwatc…
-
[Day 80 Video](https://vimeo.com/496436037)
- [x] Debug with watches ...
![image](https://user-images.githubusercontent.com/755710/103463243-10f52100-4cf9-11eb-9443-714f96bf43a0.png)
…
-
https://github.com/mikiya771/tetris-CLI/blob/42db481df03ae01b3bcb7d9d71bfe276c78d2452/reducer/reducer.go#L23
先にテストを書き進めてから,storeを引数にできる形まであげていく
reducerはfunc(action ActionType, prevStore Store) nex…
-
ginkgo version: v2.15.0
custom go version for my project: go1.21
default go version(system-wide): go1.19
Issue description: When I want to use go1.21 to build and test my project, I had encountered…
ccbhj updated
7 months ago
-
When comparing a []byte to nil via BeCalled(With(...)) we got this odd error message:
```
Test Panicked
runtime error: comparing uncomparable type []uint8
/usr/local/go/src/runtim…
-
I find myself writing
```go
Expect(errors.Is(err, &targetErr{})).To(BeTrue())
```
and
```go
var target *targetErr
Expect(errors.As(err, &target)).To(BeTrue())
```
quite a lot. The output is n…