Skip to content

Commit bc0ad19

Browse files
committed
cleanup
1 parent 95c7089 commit bc0ad19

File tree

97 files changed

+2697
-2806
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

97 files changed

+2697
-2806
lines changed

docs/converter.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -161,7 +161,7 @@ return new(
161161
return Task.CompletedTask;
162162
});
163163
```
164-
<sup><a href='/src/Verify.Tests/Converters/TypeConverterTests.cs#L51-L63' title='Snippet source file'>snippet source</a> | <a href='#snippet-conversionresultwithcleanup' title='Start of snippet'>anchor</a></sup>
164+
<sup><a href='/src/Verify.Tests/Converters/TypeConverterTests.cs#L49-L61' title='Snippet source file'>snippet source</a> | <a href='#snippet-conversionresultwithcleanup' title='Start of snippet'>anchor</a></sup>
165165
<!-- endSnippet -->
166166

167167

docs/http-recording.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ static async Task<int> MethodThatDoesHttpCalls()
4848
return jsonResult.Length + xmlResult.Length;
4949
}
5050
```
51-
<sup><a href='/src/Verify.Tests/Tests.cs#L127-L157' title='Snippet source file'>snippet source</a> | <a href='#snippet-httprecording' title='Start of snippet'>anchor</a></sup>
51+
<sup><a href='/src/Verify.Tests/Tests.cs#L126-L156' title='Snippet source file'>snippet source</a> | <a href='#snippet-httprecording' title='Start of snippet'>anchor</a></sup>
5252
<!-- endSnippet -->
5353

5454
The requests/response pairs will be appended to the verified file.
@@ -171,7 +171,7 @@ public async Task TestHttpRecordingExplicit()
171171
});
172172
}
173173
```
174-
<sup><a href='/src/Verify.Tests/Tests.cs#L159-L186' title='Snippet source file'>snippet source</a> | <a href='#snippet-httprecordingexplicit' title='Start of snippet'>anchor</a></sup>
174+
<sup><a href='/src/Verify.Tests/Tests.cs#L158-L185' title='Snippet source file'>snippet source</a> | <a href='#snippet-httprecordingexplicit' title='Start of snippet'>anchor</a></sup>
175175
<!-- endSnippet -->
176176

177177
Results in the following:

docs/logging-recording.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ class ClassThatUsesLogging
5151
}
5252
}
5353
```
54-
<sup><a href='/src/Verify.Tests/Tests.cs#L251-L285' title='Snippet source file'>snippet source</a> | <a href='#snippet-loggerrecording' title='Start of snippet'>anchor</a></sup>
54+
<sup><a href='/src/Verify.Tests/Tests.cs#L250-L284' title='Snippet source file'>snippet source</a> | <a href='#snippet-loggerrecording' title='Start of snippet'>anchor</a></sup>
5555
<!-- endSnippet -->
5656

5757
Results in:
@@ -119,7 +119,7 @@ class ClassThatUsesTypedLogging
119119
}
120120
}
121121
```
122-
<sup><a href='/src/Verify.Tests/Tests.cs#L196-L226' title='Snippet source file'>snippet source</a> | <a href='#snippet-loggerrecordingtyped' title='Start of snippet'>anchor</a></sup>
122+
<sup><a href='/src/Verify.Tests/Tests.cs#L195-L225' title='Snippet source file'>snippet source</a> | <a href='#snippet-loggerrecordingtyped' title='Start of snippet'>anchor</a></sup>
123123
<!-- endSnippet -->
124124

125125
Results in:

docs/named-tuples.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ static (bool Member1, string Member2, string Member3) MethodWithNamedTuple()
2121
return (true, "A", "B");
2222
}
2323
```
24-
<sup><a href='/src/Verify.Tests/Serialization/SerializationTests.cs#L885-L892' title='Snippet source file'>snippet source</a> | <a href='#snippet-methodwithnamedtuple' title='Start of snippet'>anchor</a></sup>
24+
<sup><a href='/src/Verify.Tests/Serialization/SerializationTests.cs#L884-L891' title='Snippet source file'>snippet source</a> | <a href='#snippet-methodwithnamedtuple' title='Start of snippet'>anchor</a></sup>
2525
<!-- endSnippet -->
2626

2727
Can be verified:
@@ -31,7 +31,7 @@ Can be verified:
3131
```cs
3232
await Verifier.VerifyTuple(() => MethodWithNamedTuple());
3333
```
34-
<sup><a href='/src/Verify.Tests/Serialization/SerializationTests.cs#L878-L882' title='Snippet source file'>snippet source</a> | <a href='#snippet-verifytuple' title='Start of snippet'>anchor</a></sup>
34+
<sup><a href='/src/Verify.Tests/Serialization/SerializationTests.cs#L877-L881' title='Snippet source file'>snippet source</a> | <a href='#snippet-verifytuple' title='Start of snippet'>anchor</a></sup>
3535
<!-- endSnippet -->
3636

3737
Resulting in:

docs/scrubbers.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ For example remove lines containing `text`:
5656
```cs
5757
verifySettings.ScrubLines(line => line.Contains("text"));
5858
```
59-
<sup><a href='/src/Verify.Tests/Serialization/SerializationTests.cs#L768-L772' title='Snippet source file'>snippet source</a> | <a href='#snippet-scrublines' title='Start of snippet'>anchor</a></sup>
59+
<sup><a href='/src/Verify.Tests/Serialization/SerializationTests.cs#L767-L771' title='Snippet source file'>snippet source</a> | <a href='#snippet-scrublines' title='Start of snippet'>anchor</a></sup>
6060
<!-- endSnippet -->
6161

6262

@@ -71,7 +71,7 @@ For example remove lines containing `text1` or `text2`
7171
```cs
7272
verifySettings.ScrubLinesContaining("text1", "text2");
7373
```
74-
<sup><a href='/src/Verify.Tests/Serialization/SerializationTests.cs#L774-L778' title='Snippet source file'>snippet source</a> | <a href='#snippet-scrublinescontaining' title='Start of snippet'>anchor</a></sup>
74+
<sup><a href='/src/Verify.Tests/Serialization/SerializationTests.cs#L773-L777' title='Snippet source file'>snippet source</a> | <a href='#snippet-scrublinescontaining' title='Start of snippet'>anchor</a></sup>
7575
<!-- endSnippet -->
7676

7777
Case insensitive by default (StringComparison.OrdinalIgnoreCase).
@@ -83,7 +83,7 @@ Case insensitive by default (StringComparison.OrdinalIgnoreCase).
8383
```cs
8484
verifySettings.ScrubLinesContaining(StringComparison.Ordinal, "text1", "text2");
8585
```
86-
<sup><a href='/src/Verify.Tests/Serialization/SerializationTests.cs#L780-L784' title='Snippet source file'>snippet source</a> | <a href='#snippet-scrublinescontainingordinal' title='Start of snippet'>anchor</a></sup>
86+
<sup><a href='/src/Verify.Tests/Serialization/SerializationTests.cs#L779-L783' title='Snippet source file'>snippet source</a> | <a href='#snippet-scrublinescontainingordinal' title='Start of snippet'>anchor</a></sup>
8787
<!-- endSnippet -->
8888

8989

@@ -98,7 +98,7 @@ For example converts lines to upper case:
9898
```cs
9999
verifySettings.ScrubLinesWithReplace(line => line.ToUpper());
100100
```
101-
<sup><a href='/src/Verify.Tests/Serialization/SerializationTests.cs#L786-L790' title='Snippet source file'>snippet source</a> | <a href='#snippet-scrublineswithreplace' title='Start of snippet'>anchor</a></sup>
101+
<sup><a href='/src/Verify.Tests/Serialization/SerializationTests.cs#L785-L789' title='Snippet source file'>snippet source</a> | <a href='#snippet-scrublineswithreplace' title='Start of snippet'>anchor</a></sup>
102102
<!-- endSnippet -->
103103

104104

@@ -111,7 +111,7 @@ Replaces `Environment.MachineName` with `TheMachineName`.
111111
```cs
112112
verifySettings.ScrubMachineName();
113113
```
114-
<sup><a href='/src/Verify.Tests/Serialization/SerializationTests.cs#L792-L796' title='Snippet source file'>snippet source</a> | <a href='#snippet-scrubmachinename' title='Start of snippet'>anchor</a></sup>
114+
<sup><a href='/src/Verify.Tests/Serialization/SerializationTests.cs#L791-L795' title='Snippet source file'>snippet source</a> | <a href='#snippet-scrubmachinename' title='Start of snippet'>anchor</a></sup>
115115
<!-- endSnippet -->
116116

117117

0 commit comments

Comments
 (0)