rename sysctlFSFileMax to rlimitMaxNumFiles to reflect what it actually does

This commit is contained in:
Elvin Efendi 2019-01-15 15:34:17 -05:00
parent f7c42b78ac
commit bdf6e47004
3 changed files with 5 additions and 6 deletions

View file

@ -20,8 +20,8 @@ import (
"testing"
)
func TestSysctlFSFileMax(t *testing.T) {
i := sysctlFSFileMax()
func TestRlimitMaxNumFiles(t *testing.T) {
i := rlimitMaxNumFiles()
if i < 1 {
t.Errorf("returned %v but expected > 0", i)
}