Skip to content

Commit 0357a4d

Browse files
committed
Docs changes
1 parent e0191be commit 0357a4d

6 files changed

Lines changed: 12 additions & 12 deletions

File tree

docs/build-server.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,5 +102,5 @@ if (BuildServerDetector.Detected)
102102
});
103103
}
104104
```
105-
<sup><a href='/src/Verify.Tests/Snippets/Snippets.cs#L78-L92' title='Snippet source file'>snippet source</a> | <a href='#snippet-derivepathinfoappveyor' title='Start of snippet'>anchor</a></sup>
105+
<sup><a href='/src/Verify.Tests/Snippets/Snippets.cs#L76-L90' title='Snippet source file'>snippet source</a> | <a href='#snippet-derivepathinfoappveyor' title='Start of snippet'>anchor</a></sup>
106106
<!-- endSnippet -->

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#L9-L13' 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#L7-L11' title='Snippet source file'>snippet source</a> | <a href='#snippet-enableclipboard' title='Start of snippet'>anchor</a></sup>
2929
<!-- endSnippet -->
3030

3131

docs/naming.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -557,7 +557,7 @@ VerifierSettings.DerivePathInfo(
557557
typeName: type.Name,
558558
methodName: method.Name));
559559
```
560-
<sup><a href='/src/Verify.Tests/Snippets/Snippets.cs#L65-L73' title='Snippet source file'>snippet source</a> | <a href='#snippet-derivepathinfo' title='Start of snippet'>anchor</a></sup>
560+
<sup><a href='/src/Verify.Tests/Snippets/Snippets.cs#L63-L71' title='Snippet source file'>snippet source</a> | <a href='#snippet-derivepathinfo' title='Start of snippet'>anchor</a></sup>
561561
<!-- endSnippet -->
562562

563563
Return null to any of the values to use the standard behavior. The returned path can be relative to the directory sourceFile exists in.

docs/serializer-settings.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -384,7 +384,7 @@ VerifierSettings.AddExtraSettings(
384384
_.TypeNameHandling = TypeNameHandling.All;
385385
});
386386
```
387-
<sup><a href='/src/Verify.Tests/Snippets/Snippets.cs#L117-L125' title='Snippet source file'>snippet source</a> | <a href='#snippet-extrasettingsglobal' title='Start of snippet'>anchor</a></sup>
387+
<sup><a href='/src/Verify.Tests/Snippets/Snippets.cs#L115-L123' title='Snippet source file'>snippet source</a> | <a href='#snippet-extrasettingsglobal' title='Start of snippet'>anchor</a></sup>
388388
<!-- endSnippet -->
389389

390390

@@ -400,7 +400,7 @@ settings.AddExtraSettings(
400400
_.TypeNameHandling = TypeNameHandling.All;
401401
});
402402
```
403-
<sup><a href='/src/Verify.Tests/Snippets/Snippets.cs#L127-L136' title='Snippet source file'>snippet source</a> | <a href='#snippet-extrasettingsinstance' title='Start of snippet'>anchor</a></sup>
403+
<sup><a href='/src/Verify.Tests/Snippets/Snippets.cs#L125-L134' title='Snippet source file'>snippet source</a> | <a href='#snippet-extrasettingsinstance' title='Start of snippet'>anchor</a></sup>
404404
<!-- endSnippet -->
405405

406406

@@ -418,7 +418,7 @@ class CompanyConverter :
418418
writer.WriteMember(company, company.Name, "Name");
419419
}
420420
```
421-
<sup><a href='/src/Verify.Tests/Snippets/Snippets.cs#L152-L161' title='Snippet source file'>snippet source</a> | <a href='#snippet-companyconverter' title='Start of snippet'>anchor</a></sup>
421+
<sup><a href='/src/Verify.Tests/Snippets/Snippets.cs#L150-L159' title='Snippet source file'>snippet source</a> | <a href='#snippet-companyconverter' title='Start of snippet'>anchor</a></sup>
422422
<!-- endSnippet -->
423423

424424
<!-- snippet: JsonConverter -->
@@ -430,7 +430,7 @@ VerifierSettings.AddExtraSettings(
430430
_.Converters.Add(new CompanyConverter());
431431
});
432432
```
433-
<sup><a href='/src/Verify.Tests/Snippets/Snippets.cs#L141-L149' title='Snippet source file'>snippet source</a> | <a href='#snippet-jsonconverter' title='Start of snippet'>anchor</a></sup>
433+
<sup><a href='/src/Verify.Tests/Snippets/Snippets.cs#L139-L147' title='Snippet source file'>snippet source</a> | <a href='#snippet-jsonconverter' title='Start of snippet'>anchor</a></sup>
434434
<!-- endSnippet -->
435435

436436

@@ -1201,7 +1201,7 @@ Extra types can be added to this mapping:
12011201
VerifierSettings.TreatAsString<ClassWithToString>(
12021202
(target, settings) => target.Property);
12031203
```
1204-
<sup><a href='/src/Verify.Tests/Snippets/Snippets.cs#L50-L55' title='Snippet source file'>snippet source</a> | <a href='#snippet-treatasstring' title='Start of snippet'>anchor</a></sup>
1204+
<sup><a href='/src/Verify.Tests/Snippets/Snippets.cs#L48-L53' title='Snippet source file'>snippet source</a> | <a href='#snippet-treatasstring' title='Start of snippet'>anchor</a></sup>
12051205
<!-- endSnippet -->
12061206

12071207

docs/verify-options.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ This can be done using `AutoVerify()`:
2222
var settings = new VerifySettings();
2323
settings.AutoVerify();
2424
```
25-
<sup><a href='/src/Verify.Tests/Snippets/Snippets.cs#L97-L102' title='Snippet source file'>snippet source</a> | <a href='#snippet-autoverify' title='Start of snippet'>anchor</a></sup>
25+
<sup><a href='/src/Verify.Tests/Snippets/Snippets.cs#L95-L100' title='Snippet source file'>snippet source</a> | <a href='#snippet-autoverify' title='Start of snippet'>anchor</a></sup>
2626
<!-- endSnippet -->
2727

2828
Or globally
@@ -75,7 +75,7 @@ public Task OnHandlersSample()
7575
return Verify("value");
7676
}
7777
```
78-
<sup><a href='/src/Verify.Tests/Snippets/Snippets.cs#L16-L46' title='Snippet source file'>snippet source</a> | <a href='#snippet-onhandlers' title='Start of snippet'>anchor</a></sup>
78+
<sup><a href='/src/Verify.Tests/Snippets/Snippets.cs#L14-L44' title='Snippet source file'>snippet source</a> | <a href='#snippet-onhandlers' title='Start of snippet'>anchor</a></sup>
7979
<!-- endSnippet -->
8080

8181

readme.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -415,7 +415,7 @@ var result = await Verify(
415415
});
416416
Assert.Contains("Value To Check", result.Text);
417417
```
418-
<sup><a href='/src/Verify.Tests/Tests.cs#L583-L592' title='Snippet source file'>snippet source</a> | <a href='#snippet-verifyresult' title='Start of snippet'>anchor</a></sup>
418+
<sup><a href='/src/Verify.Tests/Tests.cs#L581-L590' title='Snippet source file'>snippet source</a> | <a href='#snippet-verifyresult' title='Start of snippet'>anchor</a></sup>
419419
<!-- endSnippet -->
420420

421421
If using `Verifier.Throws`, the resulting `Exception` will also be accessible
@@ -426,7 +426,7 @@ If using `Verifier.Throws`, the resulting `Exception` will also be accessible
426426
var result = await Verifier.Throws(MethodThatThrows);
427427
Assert.NotNull(result.Exception);
428428
```
429-
<sup><a href='/src/Verify.Tests/Tests.cs#L628-L633' title='Snippet source file'>snippet source</a> | <a href='#snippet-exceptionresult' title='Start of snippet'>anchor</a></sup>
429+
<sup><a href='/src/Verify.Tests/Tests.cs#L626-L631' title='Snippet source file'>snippet source</a> | <a href='#snippet-exceptionresult' title='Start of snippet'>anchor</a></sup>
430430
<!-- endSnippet -->
431431

432432

0 commit comments

Comments
 (0)