Skip to content

Commit 3795152

Browse files
committed
docs
1 parent 2285bb0 commit 3795152

File tree

57 files changed

+226
-318
lines changed

Some content is hidden

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

57 files changed

+226
-318
lines changed

docs/build-server.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ if (BuildServerDetector.Detected)
100100
});
101101
}
102102
```
103-
<sup><a href='/src/Verify.Tests/Snippets/Snippets.cs#L56-L70' title='Snippet source file'>snippet source</a> | <a href='#snippet-DerivePathInfoAppVeyor' title='Start of snippet'>anchor</a></sup>
103+
<sup><a href='/src/Verify.Tests/Snippets/Snippets.cs#L48-L62' title='Snippet source file'>snippet source</a> | <a href='#snippet-DerivePathInfoAppVeyor' title='Start of snippet'>anchor</a></sup>
104104
<!-- endSnippet -->
105105

106106

docs/clipboard.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ The clipboard behavior can be enabled using the following:
2525
```cs
2626
ClipboardAccept.Enable();
2727
```
28-
<sup><a href='/src/Verify.Tests/Snippets/Snippets.cs#L30-L34' title='Snippet source file'>snippet source</a> | <a href='#snippet-EnableClipboard' title='Start of snippet'>anchor</a></sup>
28+
<sup><a href='/src/Verify.Tests/Snippets/Snippets.cs#L29-L31' title='Snippet source file'>snippet source</a> | <a href='#snippet-EnableClipboard' title='Start of snippet'>anchor</a></sup>
2929
<!-- endSnippet -->
3030

3131

docs/dates.md

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ var target = new DateTimeTarget
3030

3131
await Verify(target);
3232
```
33-
<sup><a href='/src/Verify.Tests/Serialization/SerializationTests.cs#L1015-L1034' title='Snippet source file'>snippet source</a> | <a href='#snippet-Date' title='Start of snippet'>anchor</a></sup>
33+
<sup><a href='/src/Verify.Tests/Serialization/SerializationTests.cs#L1008-L1027' title='Snippet source file'>snippet source</a> | <a href='#snippet-Date' title='Start of snippet'>anchor</a></sup>
3434
<!-- endSnippet -->
3535

3636
Results in the following:
@@ -71,7 +71,7 @@ settings.DontScrubDateTimes();
7171

7272
return Verify(target, settings);
7373
```
74-
<sup><a href='/src/Verify.Tests/Serialization/SerializationTests.cs#L1657-L1669' title='Snippet source file'>snippet source</a> | <a href='#snippet-DontScrubDateTimes' title='Start of snippet'>anchor</a></sup>
74+
<sup><a href='/src/Verify.Tests/Serialization/SerializationTests.cs#L1632-L1644' title='Snippet source file'>snippet source</a> | <a href='#snippet-DontScrubDateTimes' title='Start of snippet'>anchor</a></sup>
7575
<!-- endSnippet -->
7676

7777

@@ -88,7 +88,7 @@ var target = new
8888
return Verify(target)
8989
.DontScrubDateTimes();
9090
```
91-
<sup><a href='/src/Verify.Tests/Serialization/SerializationTests.cs#L1675-L1685' title='Snippet source file'>snippet source</a> | <a href='#snippet-DontScrubDateTimesFluent' title='Start of snippet'>anchor</a></sup>
91+
<sup><a href='/src/Verify.Tests/Serialization/SerializationTests.cs#L1650-L1660' title='Snippet source file'>snippet source</a> | <a href='#snippet-DontScrubDateTimesFluent' title='Start of snippet'>anchor</a></sup>
9292
<!-- endSnippet -->
9393

9494

@@ -101,7 +101,7 @@ return Verify(target)
101101
public static void ModuleInitializer() =>
102102
VerifierSettings.DontScrubDateTimes();
103103
```
104-
<sup><a href='/src/Verify.Tests/Serialization/SerializationTests.cs#L1743-L1749' title='Snippet source file'>snippet source</a> | <a href='#snippet-DontScrubDateTimesGlobal' title='Start of snippet'>anchor</a></sup>
104+
<sup><a href='/src/Verify.Tests/Serialization/SerializationTests.cs#L1718-L1724' title='Snippet source file'>snippet source</a> | <a href='#snippet-DontScrubDateTimesGlobal' title='Start of snippet'>anchor</a></sup>
105105
<!-- endSnippet -->
106106

107107

@@ -125,7 +125,7 @@ settings.DisableDateCounting();
125125

126126
return Verify(target, settings);
127127
```
128-
<sup><a href='/src/Verify.Tests/Serialization/SerializationTests.cs#L1704-L1716' title='Snippet source file'>snippet source</a> | <a href='#snippet-DisableDateCounting' title='Start of snippet'>anchor</a></sup>
128+
<sup><a href='/src/Verify.Tests/Serialization/SerializationTests.cs#L1679-L1691' title='Snippet source file'>snippet source</a> | <a href='#snippet-DisableDateCounting' title='Start of snippet'>anchor</a></sup>
129129
<!-- endSnippet -->
130130

131131

@@ -142,7 +142,7 @@ var target = new
142142
return Verify(target)
143143
.DisableDateCounting();
144144
```
145-
<sup><a href='/src/Verify.Tests/Serialization/SerializationTests.cs#L1722-L1732' title='Snippet source file'>snippet source</a> | <a href='#snippet-DisableDateCountingFluent' title='Start of snippet'>anchor</a></sup>
145+
<sup><a href='/src/Verify.Tests/Serialization/SerializationTests.cs#L1697-L1707' title='Snippet source file'>snippet source</a> | <a href='#snippet-DisableDateCountingFluent' title='Start of snippet'>anchor</a></sup>
146146
<!-- endSnippet -->
147147

148148

@@ -155,7 +155,7 @@ return Verify(target)
155155
public static void ModuleInitializer() =>
156156
VerifierSettings.DisableDateCounting();
157157
```
158-
<sup><a href='/src/Verify.Tests/Serialization/SerializationTests.cs#L1691-L1697' title='Snippet source file'>snippet source</a> | <a href='#snippet-DisableDateCountingGlobal' title='Start of snippet'>anchor</a></sup>
158+
<sup><a href='/src/Verify.Tests/Serialization/SerializationTests.cs#L1666-L1672' title='Snippet source file'>snippet source</a> | <a href='#snippet-DisableDateCountingGlobal' title='Start of snippet'>anchor</a></sup>
159159
<!-- endSnippet -->
160160

161161

@@ -202,7 +202,7 @@ public Task ScrubInlineDateTimesInstance()
202202
settings);
203203
}
204204
```
205-
<sup><a href='/src/Verify.Tests/Serialization/SerializationTests.cs#L1627-L1639' title='Snippet source file'>snippet source</a> | <a href='#snippet-ScrubInlineDateTimesInstance' title='Start of snippet'>anchor</a></sup>
205+
<sup><a href='/src/Verify.Tests/Serialization/SerializationTests.cs#L1602-L1614' title='Snippet source file'>snippet source</a> | <a href='#snippet-ScrubInlineDateTimesInstance' title='Start of snippet'>anchor</a></sup>
206206
<!-- endSnippet -->
207207

208208

@@ -216,7 +216,7 @@ public Task ScrubInlineDateTimesFluent() =>
216216
Verify("content 2020-10-20 content")
217217
.ScrubInlineDateTimes("yyyy-MM-dd");
218218
```
219-
<sup><a href='/src/Verify.Tests/Serialization/SerializationTests.cs#L1618-L1625' title='Snippet source file'>snippet source</a> | <a href='#snippet-ScrubInlineDateTimesFluent' title='Start of snippet'>anchor</a></sup>
219+
<sup><a href='/src/Verify.Tests/Serialization/SerializationTests.cs#L1593-L1600' title='Snippet source file'>snippet source</a> | <a href='#snippet-ScrubInlineDateTimesFluent' title='Start of snippet'>anchor</a></sup>
220220
<!-- endSnippet -->
221221

222222

@@ -232,7 +232,7 @@ public static class ModuleInitializer
232232
VerifierSettings.ScrubInlineDateTimes("yyyy-MM-dd");
233233
}
234234
```
235-
<sup><a href='/src/Verify.Tests/Serialization/SerializationTests.cs#L1606-L1615' title='Snippet source file'>snippet source</a> | <a href='#snippet-ScrubInlineDateTimesGlobal' title='Start of snippet'>anchor</a></sup>
235+
<sup><a href='/src/Verify.Tests/Serialization/SerializationTests.cs#L1581-L1590' title='Snippet source file'>snippet source</a> | <a href='#snippet-ScrubInlineDateTimesGlobal' title='Start of snippet'>anchor</a></sup>
236236
<!-- endSnippet -->
237237

238238

@@ -253,7 +253,7 @@ settings.AddNamedDateTime(new(2030, 1, 2), "instanceNamedDateTime");
253253
settings.AddNamedDateTimeOffset(new DateTime(2030, 1, 2), "instanceNamedTimeOffset");
254254
await Verify(target, settings);
255255
```
256-
<sup><a href='/src/Verify.Tests/Serialization/SerializationTests.cs#L1197-L1206' title='Snippet source file'>snippet source</a> | <a href='#snippet-NamedDatesAndTimesInstance' title='Start of snippet'>anchor</a></sup>
256+
<sup><a href='/src/Verify.Tests/Serialization/SerializationTests.cs#L1190-L1199' title='Snippet source file'>snippet source</a> | <a href='#snippet-NamedDatesAndTimesInstance' title='Start of snippet'>anchor</a></sup>
257257
<!-- endSnippet -->
258258

259259

@@ -268,7 +268,7 @@ await Verify(target)
268268
.AddNamedDateTime(new(2030, 1, 2), "instanceNamedDateTime")
269269
.AddNamedDateTimeOffset(new DateTime(2030, 1, 2), "instanceNamedTimeOffset");
270270
```
271-
<sup><a href='/src/Verify.Tests/Serialization/SerializationTests.cs#L1154-L1162' title='Snippet source file'>snippet source</a> | <a href='#snippet-NamedDatesAndTimesFluent' title='Start of snippet'>anchor</a></sup>
271+
<sup><a href='/src/Verify.Tests/Serialization/SerializationTests.cs#L1147-L1155' title='Snippet source file'>snippet source</a> | <a href='#snippet-NamedDatesAndTimesFluent' title='Start of snippet'>anchor</a></sup>
272272
<!-- endSnippet -->
273273

274274

@@ -286,5 +286,5 @@ public static void NamedDatesAndTimesGlobal()
286286
VerifierSettings.AddNamedDateTimeOffset(new(new(2030, 1, 1)), "namedDateTimeOffset");
287287
}
288288
```
289-
<sup><a href='/src/Verify.Tests/Serialization/SerializationTests.cs#L1109-L1120' title='Snippet source file'>snippet source</a> | <a href='#snippet-NamedDatesAndTimesGlobal' title='Start of snippet'>anchor</a></sup>
289+
<sup><a href='/src/Verify.Tests/Serialization/SerializationTests.cs#L1102-L1113' title='Snippet source file'>snippet source</a> | <a href='#snippet-NamedDatesAndTimesGlobal' title='Start of snippet'>anchor</a></sup>
290290
<!-- endSnippet -->

docs/explicit-targets.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ public Task WithTargets() =>
3131
name: "targetName")
3232
]);
3333
```
34-
<sup><a href='/src/Verify.NUnit.Tests/Tests.cs#L44-L60' title='Snippet source file'>snippet source</a> | <a href='#snippet-ExplicitTargetsNunit' title='Start of snippet'>anchor</a></sup>
34+
<sup><a href='/src/Verify.NUnit.Tests/Tests.cs#L41-L57' title='Snippet source file'>snippet source</a> | <a href='#snippet-ExplicitTargetsNunit' title='Start of snippet'>anchor</a></sup>
3535
<!-- endSnippet -->
3636

3737

@@ -54,7 +54,7 @@ public Task WithTargets() =>
5454
name: "targetName")
5555
]);
5656
```
57-
<sup><a href='/src/Verify.Xunit.Tests/Tests.cs#L42-L58' title='Snippet source file'>snippet source</a> | <a href='#snippet-ExplicitTargetsXunit' title='Start of snippet'>anchor</a></sup>
57+
<sup><a href='/src/Verify.Xunit.Tests/Tests.cs#L39-L55' title='Snippet source file'>snippet source</a> | <a href='#snippet-ExplicitTargetsXunit' title='Start of snippet'>anchor</a></sup>
5858
<!-- endSnippet -->
5959

6060

@@ -76,7 +76,7 @@ public Task WithTargets() =>
7676
name: "targetName")
7777
]);
7878
```
79-
<sup><a href='/src/Verify.Fixie.Tests/Tests.cs#L33-L48' title='Snippet source file'>snippet source</a> | <a href='#snippet-ExplicitTargetsFixie' title='Start of snippet'>anchor</a></sup>
79+
<sup><a href='/src/Verify.Fixie.Tests/Tests.cs#L31-L46' title='Snippet source file'>snippet source</a> | <a href='#snippet-ExplicitTargetsFixie' title='Start of snippet'>anchor</a></sup>
8080
<!-- endSnippet -->
8181

8282

docs/guids.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ var target = new GuidTarget
2323

2424
await Verify(target);
2525
```
26-
<sup><a href='/src/Verify.Tests/Serialization/SerializationTests.cs#L2007-L2020' title='Snippet source file'>snippet source</a> | <a href='#snippet-guid' title='Start of snippet'>anchor</a></sup>
26+
<sup><a href='/src/Verify.Tests/Serialization/SerializationTests.cs#L1978-L1991' title='Snippet source file'>snippet source</a> | <a href='#snippet-guid' title='Start of snippet'>anchor</a></sup>
2727
<!-- endSnippet -->
2828

2929
Results in the following:
@@ -56,7 +56,7 @@ var settings = new VerifySettings();
5656
settings.DontScrubGuids();
5757
await Verify(target, settings);
5858
```
59-
<sup><a href='/src/Verify.Tests/Serialization/SerializationTests.cs#L675-L681' title='Snippet source file'>snippet source</a> | <a href='#snippet-DontScrubGuids' title='Start of snippet'>anchor</a></sup>
59+
<sup><a href='/src/Verify.Tests/Serialization/SerializationTests.cs#L668-L674' title='Snippet source file'>snippet source</a> | <a href='#snippet-DontScrubGuids' title='Start of snippet'>anchor</a></sup>
6060
<!-- endSnippet -->
6161

6262

@@ -68,7 +68,7 @@ await Verify(target, settings);
6868
await Verify(target)
6969
.DontScrubGuids();
7070
```
71-
<sup><a href='/src/Verify.Tests/Serialization/SerializationTests.cs#L689-L694' title='Snippet source file'>snippet source</a> | <a href='#snippet-DontScrubGuidsFluent' title='Start of snippet'>anchor</a></sup>
71+
<sup><a href='/src/Verify.Tests/Serialization/SerializationTests.cs#L682-L687' title='Snippet source file'>snippet source</a> | <a href='#snippet-DontScrubGuidsFluent' title='Start of snippet'>anchor</a></sup>
7272
<!-- endSnippet -->
7373

7474

@@ -79,7 +79,7 @@ await Verify(target)
7979
```cs
8080
VerifierSettings.DontScrubGuids();
8181
```
82-
<sup><a href='/src/Verify.Tests/Serialization/SerializationTests.cs#L1532-L1536' title='Snippet source file'>snippet source</a> | <a href='#snippet-DontScrubGuidsGlobal' title='Start of snippet'>anchor</a></sup>
82+
<sup><a href='/src/Verify.Tests/Serialization/SerializationTests.cs#L1521-L1523' title='Snippet source file'>snippet source</a> | <a href='#snippet-DontScrubGuidsGlobal' title='Start of snippet'>anchor</a></sup>
8383
<!-- endSnippet -->
8484

8585

@@ -103,7 +103,7 @@ public Task ScrubInlineGuidsInstance()
103103
settings);
104104
}
105105
```
106-
<sup><a href='/src/Verify.Tests/Serialization/SerializationTests.cs#L1591-L1603' title='Snippet source file'>snippet source</a> | <a href='#snippet-ScrubInlineGuidsInstance' title='Start of snippet'>anchor</a></sup>
106+
<sup><a href='/src/Verify.Tests/Serialization/SerializationTests.cs#L1566-L1578' title='Snippet source file'>snippet source</a> | <a href='#snippet-ScrubInlineGuidsInstance' title='Start of snippet'>anchor</a></sup>
107107
<!-- endSnippet -->
108108

109109

@@ -117,7 +117,7 @@ public Task ScrubInlineGuidsFluent() =>
117117
Verify("content 651ad409-fc30-4b12-a47e-616d3f953e4c content")
118118
.ScrubInlineGuids();
119119
```
120-
<sup><a href='/src/Verify.Tests/Serialization/SerializationTests.cs#L1582-L1589' title='Snippet source file'>snippet source</a> | <a href='#snippet-ScrubInlineGuidsFluent' title='Start of snippet'>anchor</a></sup>
120+
<sup><a href='/src/Verify.Tests/Serialization/SerializationTests.cs#L1557-L1564' title='Snippet source file'>snippet source</a> | <a href='#snippet-ScrubInlineGuidsFluent' title='Start of snippet'>anchor</a></sup>
121121
<!-- endSnippet -->
122122

123123

@@ -133,7 +133,7 @@ public static class ModuleInitializer
133133
VerifierSettings.ScrubInlineGuids();
134134
}
135135
```
136-
<sup><a href='/src/Verify.Tests/Serialization/SerializationTests.cs#L1570-L1579' title='Snippet source file'>snippet source</a> | <a href='#snippet-ScrubInlineGuidsGlobal' title='Start of snippet'>anchor</a></sup>
136+
<sup><a href='/src/Verify.Tests/Serialization/SerializationTests.cs#L1545-L1554' title='Snippet source file'>snippet source</a> | <a href='#snippet-ScrubInlineGuidsGlobal' title='Start of snippet'>anchor</a></sup>
137137
<!-- endSnippet -->
138138

139139

docs/named-tuples.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ Given a method that returns a named tuple:
1919
static (bool Member1, string Member2, string Member3) MethodWithNamedTuple() =>
2020
(true, "A", "B");
2121
```
22-
<sup><a href='/src/Verify.Tests/Serialization/SerializationTests.cs#L1942-L1947' title='Snippet source file'>snippet source</a> | <a href='#snippet-MethodWithNamedTuple' title='Start of snippet'>anchor</a></sup>
22+
<sup><a href='/src/Verify.Tests/Serialization/SerializationTests.cs#L1913-L1918' title='Snippet source file'>snippet source</a> | <a href='#snippet-MethodWithNamedTuple' title='Start of snippet'>anchor</a></sup>
2323
<!-- endSnippet -->
2424

2525
Can be verified:
@@ -29,7 +29,7 @@ Can be verified:
2929
```cs
3030
await VerifyTuple(() => MethodWithNamedTuple());
3131
```
32-
<sup><a href='/src/Verify.Tests/Serialization/SerializationTests.cs#L1935-L1939' title='Snippet source file'>snippet source</a> | <a href='#snippet-VerifyTuple' title='Start of snippet'>anchor</a></sup>
32+
<sup><a href='/src/Verify.Tests/Serialization/SerializationTests.cs#L1909-L1911' title='Snippet source file'>snippet source</a> | <a href='#snippet-VerifyTuple' title='Start of snippet'>anchor</a></sup>
3333
<!-- endSnippet -->
3434

3535
Resulting in:

0 commit comments

Comments
 (0)