From 75eebb15bf65c22a54d5a66a1424ae5760be278a Mon Sep 17 00:00:00 2001 From: shangchenglumetro Date: Fri, 26 Jul 2024 01:11:19 +0800 Subject: [PATCH] chore: fix some comments --- src/NzbDrone.Core/Download/Clients/Deluge/Deluge.cs | 2 +- src/NzbDrone.Test.Common/AutoMoq/AutoMoqer.cs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/NzbDrone.Core/Download/Clients/Deluge/Deluge.cs b/src/NzbDrone.Core/Download/Clients/Deluge/Deluge.cs index f2f8ff7d6..cb8502312 100644 --- a/src/NzbDrone.Core/Download/Clients/Deluge/Deluge.cs +++ b/src/NzbDrone.Core/Download/Clients/Deluge/Deluge.cs @@ -200,7 +200,7 @@ namespace NzbDrone.Core.Download.Clients.Deluge if (ignoredCount > 0) { - _logger.Warn("{0} torrent(s) were ignored becuase they did not have a title, check Deluge and remove any invalid torrents"); + _logger.Warn("{0} torrent(s) were ignored because they did not have a title, check Deluge and remove any invalid torrents"); } return items; diff --git a/src/NzbDrone.Test.Common/AutoMoq/AutoMoqer.cs b/src/NzbDrone.Test.Common/AutoMoq/AutoMoqer.cs index 948994c51..288209030 100644 --- a/src/NzbDrone.Test.Common/AutoMoq/AutoMoqer.cs +++ b/src/NzbDrone.Test.Common/AutoMoq/AutoMoqer.cs @@ -51,7 +51,7 @@ namespace NzbDrone.Test.Common.AutoMoq if (behavior != MockBehavior.Default && mock.Behavior == MockBehavior.Default) { - throw new InvalidOperationException("Unable to change be behaviour of a an existing mock."); + throw new InvalidOperationException("Unable to change be behaviour of an existing mock."); } return mock;