Skip to content
This repository was archived by the owner on Dec 5, 2024. It is now read-only.

Commit 3439858

Browse files
Updating test
1 parent 2a06427 commit 3439858

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/tests/IntegrationTests/Events/RepositoryWatcherTests.cs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -394,7 +394,7 @@ private RepositoryWatcher CreateRepositoryWatcher(NPath path)
394394
public interface IRepositoryWatcherListener
395395
{
396396
void ConfigChanged();
397-
void HeadChanged(string obj);
397+
void HeadChanged();
398398
void IndexChanged();
399399
void LocalBranchCreated(string branch);
400400
void LocalBranchDeleted(string branch);
@@ -411,10 +411,10 @@ public static void AttachListener(this IRepositoryWatcherListener listener, IRep
411411
{
412412
var logger = trace ? Logging.GetLogger<IRepositoryWatcherListener>() : null;
413413

414-
repositoryWatcher.HeadChanged += s =>
414+
repositoryWatcher.HeadChanged += () =>
415415
{
416-
logger?.Trace("HeadChanged: {0}", s);
417-
listener.HeadChanged(s);
416+
logger?.Trace("HeadChanged");
417+
listener.HeadChanged();
418418
autoResetEvent?.HeadChanged.Set();
419419
};
420420

0 commit comments

Comments
 (0)