add some comments for const variable

This commit is contained in:
Aresforchina
2020-01-03 14:49:01 +08:00
parent 47d5c3ef8d
commit 2293b47346
3 changed files with 20 additions and 20 deletions

View File

@@ -22,10 +22,10 @@ import (
func TestNamespacedBy(t *testing.T) {
tests := map[string]Namespace{
"kernel.shm_rmid_forced": IpcNamespace,
"net.a.b.c": NetNamespace,
"fs.mqueue.a.b.c": IpcNamespace,
"foo": UnknownNamespace,
"kernel.shm_rmid_forced": ipcNamespace,
"net.a.b.c": netNamespace,
"fs.mqueue.a.b.c": ipcNamespace,
"foo": unknownNamespace,
}
for sysctl, ns := range tests {