From 9876d93b603bc58aff832f505238611d02d04e2d Mon Sep 17 00:00:00 2001 From: Audrius Butkevicius Date: Wed, 4 Mar 2015 22:39:33 +0000 Subject: [PATCH] Fix tests on Windows while running as a simple user --- internal/model/model_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/model/model_test.go b/internal/model/model_test.go index 3aeda736e..06298420e 100644 --- a/internal/model/model_test.go +++ b/internal/model/model_test.go @@ -565,7 +565,7 @@ func TestRefuseUnknownBits(t *testing.T) { }, { Name: "valid", - Flags: protocol.FlagsAll &^ protocol.FlagInvalid, + Flags: protocol.FlagsAll &^ (protocol.FlagInvalid | protocol.FlagSymlink), }, })