Explorar o código

lib/model: Fixup spelling of protocol.FileIntf in test (ref #6463)

Jakob Borg %!s(int64=5) %!d(string=hai) anos
pai
achega
145d87ce70
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      lib/model/folder_recvonly_test.go

+ 1 - 1
lib/model/folder_recvonly_test.go

@@ -382,7 +382,7 @@ func TestRecvOnlyRemoteUndoChanges(t *testing.T) {
 
 	files := make([]protocol.FileInfo, 0, 2)
 	snap := f.fset.Snapshot()
-	snap.WithHave(protocol.LocalDeviceID, func(fi db.FileIntf) bool {
+	snap.WithHave(protocol.LocalDeviceID, func(fi protocol.FileIntf) bool {
 		if n := fi.FileName(); n != file && n != knownFile {
 			return true
 		}