Rewrite the code comments for consistent tone and accuracy
Comments only: the tokens of every Go file are unchanged. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -121,6 +121,8 @@ func TestModelBounds(t *testing.T) {
|
||||
walk(reflect.ValueOf(inst.Regions[0]), "Region")
|
||||
}
|
||||
|
||||
// checkBounds reports a value that is outside the minimum and maximum in the
|
||||
// tag of the field it was read from.
|
||||
func checkBounds(t *testing.T, name string, tag reflect.StructTag, v float64) {
|
||||
t.Helper()
|
||||
if s, ok := tag.Lookup("minimum"); ok {
|
||||
|
||||
Reference in New Issue
Block a user