summaryrefslogtreecommitdiff
path: root/settings_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'settings_test.go')
-rw-r--r--settings_test.go8
1 files changed, 8 insertions, 0 deletions
diff --git a/settings_test.go b/settings_test.go
index 47eb711..e3761d4 100644
--- a/settings_test.go
+++ b/settings_test.go
@@ -65,6 +65,14 @@ func TestEnableStrictHashVerification(t *testing.T) {
checkFatal(t, err)
}
+func TestEnableFsyncGitDir(t *testing.T) {
+ err := EnableFsyncGitDir(false)
+ checkFatal(t, err)
+
+ err = EnableFsyncGitDir(true)
+ checkFatal(t, err)
+}
+
func TestCachedMemory(t *testing.T) {
current, allowed, err := CachedMemory()
checkFatal(t, err)