Fix tests on Windows while running as a simple user

This commit is contained in:
Audrius Butkevicius 2015-03-04 22:39:33 +00:00
parent b3dd05580b
commit 9876d93b60

View File

@ -565,7 +565,7 @@ func TestRefuseUnknownBits(t *testing.T) {
},
{
Name: "valid",
Flags: protocol.FlagsAll &^ protocol.FlagInvalid,
Flags: protocol.FlagsAll &^ (protocol.FlagInvalid | protocol.FlagSymlink),
},
})