INNER CODE UNIT · Go
j
apache/casbin-mongodb-adapter · adapter_test.go:91
if j == l-1 {
return false
} else {
continue
}
}
if mapA[i] == mapB[j] {
order[j] = struct{}{}
break
} else if j == l-1 {
return false
}
}
}
return true
}
func initPolicy(t *testing.T, dbURL string) {