You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
❮ go test ./numeral
ok main/numeral 0.184s
❮ go test ./numeral
ok main/numeral (cached)
❮ go test ./numeral
ok main/numeral (cached)
❮ go test ./numeral
ok main/numeral (cached)
I even tried clearing the cache, but no luck:
❯ go clean -cache
❮ go test ./numeral
ok main/numeral 0.199s
If it matters:
❯ go version
go version go1.21.0 darwin/arm64
The text was updated successfully, but these errors were encountered:
In the chapter
Intro to property based tests
we use thetesting/quick
package to create a new test,TestPropertiesOfConversion
.After creating the test:
The test initially failed for me, but then it froze on the second run:
After adding this to the
assertion
function:The book says:
But the test only passes for me after doing this:
I even tried clearing the cache, but no luck:
If it matters:
The text was updated successfully, but these errors were encountered: