boolean, sizeofstring: update after talking with x/tools folks

This commit is contained in:
2025-08-27 22:49:18 -04:00
parent 95e06f326d
commit 86f0b6c785
5 changed files with 13 additions and 7 deletions

14
boolean/boolean_test.go Normal file
View File

@@ -0,0 +1,14 @@
// boolean_test.go
package bocchi_test
import "git.sunturtle.xyz/zephyr/errors-my-beloved/boolean/challenge"
var _ = map[bool]struct{}{
false: {},
challenge.Flag == "gc25{}": {}, // ERROR: ./boolean_test.go:7:2: duplicate key false in map literal
}
var _ = map[bool]struct{}{
false: {},
challenge.Flag[13:] != "CRDy}": {}, // silently succeeds, even though it evaluates to false
}