Fix comment for method SetForTests

This commit is contained in:
00171108 2017-02-03 14:33:40 +08:00 committed by SongRuixia
parent 844407e6ca
commit 56fa751232

View File

@ -68,7 +68,7 @@ func Setup(allowPrivileged bool, privilegedSources PrivilegedSources, perConnect
}) })
} }
// SetCapabilitiesForTests. Convenience method for testing. This should only be called from tests. // SetForTests sets capabilities for tests. Convenience method for testing. This should only be called from tests.
func SetForTests(c Capabilities) { func SetForTests(c Capabilities) {
lock.Lock() lock.Lock()
defer lock.Unlock() defer lock.Unlock()