Skip to content

Commit 422c2ab

Browse files
committed
- Linting
1 parent 4554dcf commit 422c2ab

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

EasyVCR.Tests/CensorsTest.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -340,7 +340,7 @@ public async Task TestRegexCensorOnXml()
340340
Assert.AreEqual(censorString, node.InnerText);
341341
}
342342
}
343-
343+
344344
[TestMethod]
345345
public async Task TestTextCensorOnHtml()
346346
{
@@ -578,7 +578,7 @@ public async Task TestNonStringCensorKeyElements()
578578
{
579579
var cassette = TestUtils.GetCassette("test_non_string_censor_elements");
580580
cassette.Erase(); // Erase cassette before recording
581-
581+
582582
const string censorString = "censored-by-test";
583583
const int intToCensor = 123456;
584584
var dateToCensor = new DateTime(2020, 1, 1, 12, 0, 0);

EasyVCR/Censors.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -489,7 +489,7 @@ private static Dictionary<string, object> ApplyJsonXmlDataCensors(Dictionary<str
489489
if (Utilities.IsJsonDictionary(value))
490490
{
491491
// replace with empty dictionary or censor text based on content type
492-
censoredBodyDictionary.Add(elem.Key, contentType == ContentType.Json ? new Dictionary<string, object>() : censorText);
492+
censoredBodyDictionary.Add(elem.Key, contentType == ContentType.Json ? new Dictionary<string, object>() : censorText);
493493
}
494494
else if (Utilities.IsJsonArray(value))
495495
{

EasyVCR/InternalUtilities/ContentType.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ public static ContentType DetermineContentType(string content)
2121
{
2222
return ContentType.Json;
2323
}
24-
24+
2525
// Need to check HTML first, as HTML is also valid XML
2626
if (IsHtml(content))
2727
{

0 commit comments

Comments
 (0)