diff options
| author | lhchavez <[email protected]> | 2020-05-09 20:39:51 -0700 |
|---|---|---|
| committer | GitHub <[email protected]> | 2020-05-09 20:39:51 -0700 |
| commit | 31f877e249e28c29cc4fcd512381a5a5b26e59d9 (patch) | |
| tree | eba9030b1449cddf6274b748fbfcf010680d35cd /settings_test.go | |
| parent | 8b51d0db8e40e97283b771a5a51b13bea4651f81 (diff) | |
| parent | cf6522c7fe093244a14334ced1c90c9791231a3e (diff) | |
Merge pull request #582 from suhaibmujahid/method-rename
It is not Go idiomatic to put Get into the getter's name
Diffstat (limited to 'settings_test.go')
| -rw-r--r-- | settings_test.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/settings_test.go b/settings_test.go index 4e45567..150ee7c 100644 --- a/settings_test.go +++ b/settings_test.go @@ -57,8 +57,8 @@ func TestEnableCaching(t *testing.T) { checkFatal(t, err) } -func TestGetCachedMemory(t *testing.T) { - current, allowed, err := GetCachedMemory() +func TestCachedMemory(t *testing.T) { + current, allowed, err := CachedMemory() checkFatal(t, err) if current < 0 { |
