This commit is contained in:
Luiz Ozaki 2016-06-28 12:21:46 -03:00 committed by GitHub
parent 702aa9d4c4
commit fa0f129505
1 changed files with 2 additions and 2 deletions

View File

@ -174,7 +174,7 @@ func TestNFSProcessStat(t *testing.T) {
var acc testutil.Accumulator var acc testutil.Accumulator
nfs := NFS{} nfs := NFS{}
nfs.iostat = true nfs.Iostat = true
scanner := bufio.NewScanner(strings.NewReader(mountstatstext)) scanner := bufio.NewScanner(strings.NewReader(mountstatstext))
nfs.processText(scanner, &acc) nfs.processText(scanner, &acc)
@ -204,7 +204,7 @@ func TestNFSProcessFull(t *testing.T) {
var acc testutil.Accumulator var acc testutil.Accumulator
nfs := NFS{} nfs := NFS{}
nfs.fullstat = true nfs.Fullstat = true
scanner := bufio.NewScanner(strings.NewReader(mountstatstext)) scanner := bufio.NewScanner(strings.NewReader(mountstatstext))
nfs.processText(scanner, &acc) nfs.processText(scanner, &acc)