From e0f1ce6336dfea931e98dae032ac80b21bd7e667 Mon Sep 17 00:00:00 2001 From: jgfrm Date: Mon, 6 Feb 2017 20:15:39 +0100 Subject: [PATCH] Nlink() -> Nlink --- src/cmds/restic/integration_helpers_unix_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/cmds/restic/integration_helpers_unix_test.go b/src/cmds/restic/integration_helpers_unix_test.go index 5fdf281d9..faa267bf1 100644 --- a/src/cmds/restic/integration_helpers_unix_test.go +++ b/src/cmds/restic/integration_helpers_unix_test.go @@ -38,7 +38,7 @@ func (e *dirEntry) equals(other *dirEntry) bool { return false } - if stat.Nlink() != stat2.Nlink() { + if stat.Nlink != stat2.Nlink { fmt.Fprintf(os.Stderr, "%v: Number of links doe not match (%v != %v)\n", e.path, stat.nlink(), stat2.nlink()) return false }