diff --git a/docs/anonymous-types.md b/docs/anonymous-types.md
index e22572c894..1bf4f2925c 100644
--- a/docs/anonymous-types.md
+++ b/docs/anonymous-types.md
@@ -68,7 +68,7 @@ public Task Anon()
});
}
```
-snippet source | anchor
+snippet source | anchor
diff --git a/docs/compared-to-assertion.md b/docs/compared-to-assertion.md
index f4223fbff8..22e36f73af 100644
--- a/docs/compared-to-assertion.md
+++ b/docs/compared-to-assertion.md
@@ -81,7 +81,7 @@ public void TraditionalTest()
Assert.Equal("USA", person.Address.Country);
}
```
-snippet source | anchor
+snippet source | anchor
@@ -97,7 +97,7 @@ public Task SnapshotTest()
return Verify(person);
}
```
-snippet source | anchor
+snippet source | anchor
Produces a snapshot file `SnapshotTest.verified.txt`:
@@ -121,4 +121,22 @@ Produces a snapshot file `SnapshotTest.verified.txt`:
}
```
snippet source | anchor
+
+```txt
+{
+ GivenNames: John,
+ FamilyName: Smith,
+ Spouse: Jill,
+ Address: {
+ Street: 4 Puddle Lane,
+ Country: USA
+ },
+ Children: [
+ Sam,
+ Mary
+ ],
+ Id: Guid_1
+}
+```
+snippet source | anchor
diff --git a/docs/explicit-targets.md b/docs/explicit-targets.md
index 45c83644a9..2c97718524 100644
--- a/docs/explicit-targets.md
+++ b/docs/explicit-targets.md
@@ -54,7 +54,7 @@ public Task WithTargets() =>
name: "targetName")
]);
```
-snippet source | anchor
+snippet source | anchor
diff --git a/docs/naming.md b/docs/naming.md
index 1ecac4977f..cde5931892 100644
--- a/docs/naming.md
+++ b/docs/naming.md
@@ -307,7 +307,7 @@ public class UniqueForSample
.UniqueForOSPlatform();
}
```
-snippet source | anchor
+snippet source | anchor
@@ -534,7 +534,7 @@ public class ExtensionSample
extension: "xml");
}
```
-snippet source | anchor
+snippet source | anchor
Result in:
@@ -593,7 +593,7 @@ Verifier.DerivePathInfo(
typeName: type.Name,
methodName: method.Name));
```
-snippet source | anchor
+snippet source | anchor
diff --git a/docs/parameterised.md b/docs/parameterised.md
index d5367558ce..4023ff8ff1 100644
--- a/docs/parameterised.md
+++ b/docs/parameterised.md
@@ -44,7 +44,7 @@ public Task UseParametersUsage(string arg)
.UseParameters(arg);
}
```
-snippet source | anchor
+snippet source | anchor
If not all parameters are required, a subset can be passed in. In this scenario, the parameters passed in will match with the method parameter names from the start. For example the following will result in a file named `ParametersSample.UseParametersSubSet_arg1=Value1_arg2=Value2.verified.txt`
@@ -61,7 +61,7 @@ public Task UseParametersSubSet(string arg1, string arg2, string arg3)
.UseParameters(arg1, arg2);
}
```
-snippet source | anchor
+snippet source | anchor
If the number of parameters passed to `UseParameters()` is greater than the number of parameters in the test method, an exception will be thrown.
@@ -152,7 +152,7 @@ public Task InlineDataUsageFluent(string arg) =>
Verify(arg)
.UseParameters(arg);
```
-snippet source | anchor
+snippet source | anchor
@@ -188,7 +188,7 @@ public static IEnumerable