Fix comments
This commit is contained in:
parent
c9ee6655ca
commit
356e6cd8db
5 changed files with 8 additions and 8 deletions
|
|
@ -74,7 +74,7 @@ func TestRegisterExternalizableChecker_AppendsEndpointOnce(t *testing.T) {
|
|||
}
|
||||
|
||||
// Second registration of the same definition pointer must NOT append a
|
||||
// second "endpoint" AdminOpt — the duplicate check has to fire before
|
||||
// second "endpoint" AdminOpt, the duplicate check has to fire before
|
||||
// the append, otherwise we silently mutate the live definition.
|
||||
RegisterExternalizableChecker(c)
|
||||
if n := len(c.Options.AdminOpts); n != 1 {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue