Skip to content

Commit

Permalink
remove HashSnippetAnchors (#879)
Browse files Browse the repository at this point in the history
  • Loading branch information
SimonCropp committed Apr 21, 2023
1 parent dd4ef3e commit 1e08eef
Show file tree
Hide file tree
Showing 35 changed files with 175 additions and 176 deletions.
4 changes: 2 additions & 2 deletions documentation/documentation/completeIn.md
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
# ShouldCompleteIn

<!-- snippet: ShouldCompleteInExamples.ShouldCompleteIn.codeSample.approved.cs -->
<a id='8b320099'></a>
<a id='snippet-ShouldCompleteInExamples.ShouldCompleteIn.codeSample.approved.cs'></a>
```cs
Should.CompleteIn(
action: () => { Thread.Sleep(TimeSpan.FromSeconds(2)); },
timeout: TimeSpan.FromSeconds(1),
customMessage: "Some additional context");
```
<sup><a href='/src/DocumentationExamples/CodeExamples/ShouldCompleteInExamples.ShouldCompleteIn.codeSample.approved.cs#L1-L4' title='Snippet source file'>snippet source</a> | <a href='#8b320099' title='Start of snippet'>anchor</a></sup>
<sup><a href='/src/DocumentationExamples/CodeExamples/ShouldCompleteInExamples.ShouldCompleteIn.codeSample.approved.cs#L1-L4' title='Snippet source file'>snippet source</a> | <a href='#snippet-ShouldCompleteInExamples.ShouldCompleteIn.codeSample.approved.cs' title='Start of snippet'>anchor</a></sup>
<!-- endSnippet -->


Expand Down
8 changes: 4 additions & 4 deletions documentation/documentation/dictionary/containKey.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,12 @@
## ShouldContainKey

<!-- snippet: DictionaryShouldContainKeyExamples.ShouldContainKey.codeSample.approved.cs -->
<a id='a6a703ed'></a>
<a id='snippet-DictionaryShouldContainKeyExamples.ShouldContainKey.codeSample.approved.cs'></a>
```cs
var websters = new Dictionary<string, string> { { "Embiggen", "To empower or embolden." } };
websters.ShouldContainKey("Cromulent");
```
<sup><a href='/src/DocumentationExamples/CodeExamples/DictionaryShouldContainKeyExamples.ShouldContainKey.codeSample.approved.cs#L1-L2' title='Snippet source file'>snippet source</a> | <a href='#a6a703ed' title='Start of snippet'>anchor</a></sup>
<sup><a href='/src/DocumentationExamples/CodeExamples/DictionaryShouldContainKeyExamples.ShouldContainKey.codeSample.approved.cs#L1-L2' title='Snippet source file'>snippet source</a> | <a href='#snippet-DictionaryShouldContainKeyExamples.ShouldContainKey.codeSample.approved.cs' title='Start of snippet'>anchor</a></sup>
<!-- endSnippet -->

**Exception**
Expand All @@ -26,12 +26,12 @@ websters
## ShouldNotContainKey

<!-- snippet: DictionaryShouldContainKeyExamples.ShouldNotContainKey.codeSample.approved.cs -->
<a id='f4ef328d'></a>
<a id='snippet-DictionaryShouldContainKeyExamples.ShouldNotContainKey.codeSample.approved.cs'></a>
```cs
var websters = new Dictionary<string, string> { { "Chazzwazzers", "What Australians would have called a bull frog." } };
websters.ShouldNotContainKey("Chazzwazzers");
```
<sup><a href='/src/DocumentationExamples/CodeExamples/DictionaryShouldContainKeyExamples.ShouldNotContainKey.codeSample.approved.cs#L1-L2' title='Snippet source file'>snippet source</a> | <a href='#f4ef328d' title='Start of snippet'>anchor</a></sup>
<sup><a href='/src/DocumentationExamples/CodeExamples/DictionaryShouldContainKeyExamples.ShouldNotContainKey.codeSample.approved.cs#L1-L2' title='Snippet source file'>snippet source</a> | <a href='#snippet-DictionaryShouldContainKeyExamples.ShouldNotContainKey.codeSample.approved.cs' title='Start of snippet'>anchor</a></sup>
<!-- endSnippet -->

**Exception**
Expand Down
8 changes: 4 additions & 4 deletions documentation/documentation/dictionary/containKeyAndValue.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,12 @@
## ShouldContainKeyAndValue

<!-- snippet: DictionaryShouldContainKeyAndValueExamples.ShouldContainKeyAndValue.codeSample.approved.cs -->
<a id='a113757c'></a>
<a id='snippet-DictionaryShouldContainKeyAndValueExamples.ShouldContainKeyAndValue.codeSample.approved.cs'></a>
```cs
var websters = new Dictionary<string, string> { { "Cromulent", "I never heard the word before moving to Springfield." } };
websters.ShouldContainKeyAndValue("Cromulent", "Fine, acceptable.");
```
<sup><a href='/src/DocumentationExamples/CodeExamples/DictionaryShouldContainKeyAndValueExamples.ShouldContainKeyAndValue.codeSample.approved.cs#L1-L2' title='Snippet source file'>snippet source</a> | <a href='#a113757c' title='Start of snippet'>anchor</a></sup>
<sup><a href='/src/DocumentationExamples/CodeExamples/DictionaryShouldContainKeyAndValueExamples.ShouldContainKeyAndValue.codeSample.approved.cs#L1-L2' title='Snippet source file'>snippet source</a> | <a href='#snippet-DictionaryShouldContainKeyAndValueExamples.ShouldContainKeyAndValue.codeSample.approved.cs' title='Start of snippet'>anchor</a></sup>
<!-- endSnippet -->

**Exception**
Expand All @@ -30,12 +30,12 @@ websters
## ShouldNotContainKeyAndValue

<!-- snippet: DictionaryShouldContainKeyAndValueExamples.ShouldNotContainKeyAndValue.codeSample.approved.cs -->
<a id='dbf0b7f8'></a>
<a id='snippet-DictionaryShouldContainKeyAndValueExamples.ShouldNotContainKeyAndValue.codeSample.approved.cs'></a>
```cs
var websters = new Dictionary<string, string> { { "Chazzwazzers", "What Australians would have called a bull frog." } };
websters.ShouldNotContainValueForKey("Chazzwazzers", "What Australians would have called a bull frog.");
```
<sup><a href='/src/DocumentationExamples/CodeExamples/DictionaryShouldContainKeyAndValueExamples.ShouldNotContainKeyAndValue.codeSample.approved.cs#L1-L2' title='Snippet source file'>snippet source</a> | <a href='#dbf0b7f8' title='Start of snippet'>anchor</a></sup>
<sup><a href='/src/DocumentationExamples/CodeExamples/DictionaryShouldContainKeyAndValueExamples.ShouldNotContainKeyAndValue.codeSample.approved.cs#L1-L2' title='Snippet source file'>snippet source</a> | <a href='#snippet-DictionaryShouldContainKeyAndValueExamples.ShouldNotContainKeyAndValue.codeSample.approved.cs' title='Start of snippet'>anchor</a></sup>
<!-- endSnippet -->

**Exception**
Expand Down
4 changes: 2 additions & 2 deletions documentation/documentation/dynamicShould.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,12 @@
## HaveProperty

<!-- snippet: DynamicShouldExamples.HaveProperty.codeSample.approved.cs -->
<a id='7b868925'></a>
<a id='snippet-DynamicShouldExamples.HaveProperty.codeSample.approved.cs'></a>
```cs
dynamic theFuture = new ExpandoObject();
DynamicShould.HaveProperty(theFuture, "RobotTeachers");
```
<sup><a href='/src/DocumentationExamples/CodeExamples/DynamicShouldExamples.HaveProperty.codeSample.approved.cs#L1-L2' title='Snippet source file'>snippet source</a> | <a href='#7b868925' title='Start of snippet'>anchor</a></sup>
<sup><a href='/src/DocumentationExamples/CodeExamples/DynamicShouldExamples.HaveProperty.codeSample.approved.cs#L1-L2' title='Snippet source file'>snippet source</a> | <a href='#snippet-DynamicShouldExamples.HaveProperty.codeSample.approved.cs' title='Start of snippet'>anchor</a></sup>
<!-- endSnippet -->


Expand Down
4 changes: 2 additions & 2 deletions documentation/documentation/enumerable/allBe.md
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
# ShouldAllBe

<!-- snippet: EnumerableShouldAllBeExamples.ShouldAllBe.codeSample.approved.cs -->
<a id='0c692deb'></a>
<a id='snippet-EnumerableShouldAllBeExamples.ShouldAllBe.codeSample.approved.cs'></a>
```cs
var mrBurns = new Person { Name = "Mr.Burns", Salary = 3000000 };
var kentBrockman = new Person { Name = "Homer", Salary = 3000000 };
var homer = new Person { Name = "Homer", Salary = 30000 };
var millionaires = new List<Person> { mrBurns, kentBrockman, homer };
millionaires.ShouldAllBe(m => m.Salary > 1000000);
```
<sup><a href='/src/DocumentationExamples/CodeExamples/EnumerableShouldAllBeExamples.ShouldAllBe.codeSample.approved.cs#L1-L5' title='Snippet source file'>snippet source</a> | <a href='#0c692deb' title='Start of snippet'>anchor</a></sup>
<sup><a href='/src/DocumentationExamples/CodeExamples/EnumerableShouldAllBeExamples.ShouldAllBe.codeSample.approved.cs#L1-L5' title='Snippet source file'>snippet source</a> | <a href='#snippet-EnumerableShouldAllBeExamples.ShouldAllBe.codeSample.approved.cs' title='Start of snippet'>anchor</a></sup>
<!-- endSnippet -->

**Exception**
Expand Down
16 changes: 8 additions & 8 deletions documentation/documentation/enumerable/contain.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,15 +4,15 @@
## ShouldContain

<!-- snippet: EnumerableShouldContainExamples.ShouldContain.codeSample.approved.cs -->
<a id='ee1c3145'></a>
<a id='snippet-EnumerableShouldContainExamples.ShouldContain.codeSample.approved.cs'></a>
```cs
var mrBurns = new Person { Name = "Mr.Burns", Salary = 3000000 };
var kentBrockman = new Person { Name = "Kent Brockman", Salary = 3000000 };
var homer = new Person { Name = "Homer", Salary = 30000 };
var millionaires = new List<Person> { kentBrockman, homer };
millionaires.ShouldContain(mrBurns);
```
<sup><a href='/src/DocumentationExamples/CodeExamples/EnumerableShouldContainExamples.ShouldContain.codeSample.approved.cs#L1-L5' title='Snippet source file'>snippet source</a> | <a href='#ee1c3145' title='Start of snippet'>anchor</a></sup>
<sup><a href='/src/DocumentationExamples/CodeExamples/EnumerableShouldContainExamples.ShouldContain.codeSample.approved.cs#L1-L5' title='Snippet source file'>snippet source</a> | <a href='#snippet-EnumerableShouldContainExamples.ShouldContain.codeSample.approved.cs' title='Start of snippet'>anchor</a></sup>
<!-- endSnippet -->

**Exception**
Expand All @@ -31,15 +31,15 @@ Mr.Burns
### With Predicate

<!-- snippet: EnumerableShouldContainExamples.ShouldContain_Predicate.codeSample.approved.cs -->
<a id='e780f992'></a>
<a id='snippet-EnumerableShouldContainExamples.ShouldContain_Predicate.codeSample.approved.cs'></a>
```cs
var homer = new Person { Name = "Homer", Salary = 30000 };
var moe = new Person { Name = "Moe", Salary = 20000 };
var barney = new Person { Name = "Barney", Salary = 0 };
var millionaires = new List<Person> { homer, moe, barney };
millionaires.ShouldContain(m => m.Salary > 1000000);
```
<sup><a href='/src/DocumentationExamples/CodeExamples/EnumerableShouldContainExamples.ShouldContain_Predicate.codeSample.approved.cs#L1-L5' title='Snippet source file'>snippet source</a> | <a href='#e780f992' title='Start of snippet'>anchor</a></sup>
<sup><a href='/src/DocumentationExamples/CodeExamples/EnumerableShouldContainExamples.ShouldContain_Predicate.codeSample.approved.cs#L1-L5' title='Snippet source file'>snippet source</a> | <a href='#snippet-EnumerableShouldContainExamples.ShouldContain_Predicate.codeSample.approved.cs' title='Start of snippet'>anchor</a></sup>
<!-- endSnippet -->

**Exception**
Expand All @@ -57,7 +57,7 @@ millionaires
## ShouldNotContain

<!-- snippet: EnumerableShouldNotContainExamples.ShouldNotContain.codeSample.approved.cs -->
<a id='d7dff7f3'></a>
<a id='snippet-EnumerableShouldNotContainExamples.ShouldNotContain.codeSample.approved.cs'></a>
```cs
var homerSimpson = new Person { Name = "Homer" };
var homerGlumplich = new Person { Name = "Homer" };
Expand All @@ -66,7 +66,7 @@ var carl = new Person { Name = "carl" };
var clubOfNoHomers = new List<Person> { homerSimpson, homerGlumplich, lenny, carl };
clubOfNoHomers.ShouldNotContain(homerSimpson);
```
<sup><a href='/src/DocumentationExamples/CodeExamples/EnumerableShouldNotContainExamples.ShouldNotContain.codeSample.approved.cs#L1-L6' title='Snippet source file'>snippet source</a> | <a href='#d7dff7f3' title='Start of snippet'>anchor</a></sup>
<sup><a href='/src/DocumentationExamples/CodeExamples/EnumerableShouldNotContainExamples.ShouldNotContain.codeSample.approved.cs#L1-L6' title='Snippet source file'>snippet source</a> | <a href='#snippet-EnumerableShouldNotContainExamples.ShouldNotContain.codeSample.approved.cs' title='Start of snippet'>anchor</a></sup>
<!-- endSnippet -->

**Exception**
Expand All @@ -85,15 +85,15 @@ Homer
### With Predicate

<!-- snippet: EnumerableShouldNotContainExamples.ShouldNotContain_Predicate.codeSample.approved.cs -->
<a id='96ebbed1'></a>
<a id='snippet-EnumerableShouldNotContainExamples.ShouldNotContain_Predicate.codeSample.approved.cs'></a>
```cs
var mrBurns = new Person { Name = "Mr.Burns", Salary = 3000000 };
var kentBrockman = new Person { Name = "Homer", Salary = 3000000 };
var homer = new Person { Name = "Homer", Salary = 30000 };
var millionaires = new List<Person> { mrBurns, kentBrockman, homer };
millionaires.ShouldNotContain(m => m.Salary < 1000000);
```
<sup><a href='/src/DocumentationExamples/CodeExamples/EnumerableShouldNotContainExamples.ShouldNotContain_Predicate.codeSample.approved.cs#L1-L5' title='Snippet source file'>snippet source</a> | <a href='#96ebbed1' title='Start of snippet'>anchor</a></sup>
<sup><a href='/src/DocumentationExamples/CodeExamples/EnumerableShouldNotContainExamples.ShouldNotContain_Predicate.codeSample.approved.cs#L1-L5' title='Snippet source file'>snippet source</a> | <a href='#snippet-EnumerableShouldNotContainExamples.ShouldNotContain_Predicate.codeSample.approved.cs' title='Start of snippet'>anchor</a></sup>
<!-- endSnippet -->

**Exception**
Expand Down
8 changes: 4 additions & 4 deletions documentation/documentation/enumerable/empty.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,13 @@
## ShouldBeEmpty

<!-- snippet: EnumerableShouldBeEmptyExamples.ShouldBeEmpty.codeSample.approved.cs -->
<a id='9aaae6d1'></a>
<a id='snippet-EnumerableShouldBeEmptyExamples.ShouldBeEmpty.codeSample.approved.cs'></a>
```cs
var homer = new Person { Name = "Homer" };
var powerPlantOnTheWeekend = new List<Person> { homer };
powerPlantOnTheWeekend.ShouldBeEmpty();
```
<sup><a href='/src/DocumentationExamples/CodeExamples/EnumerableShouldBeEmptyExamples.ShouldBeEmpty.codeSample.approved.cs#L1-L3' title='Snippet source file'>snippet source</a> | <a href='#9aaae6d1' title='Start of snippet'>anchor</a></sup>
<sup><a href='/src/DocumentationExamples/CodeExamples/EnumerableShouldBeEmptyExamples.ShouldBeEmpty.codeSample.approved.cs#L1-L3' title='Snippet source file'>snippet source</a> | <a href='#snippet-EnumerableShouldBeEmptyExamples.ShouldBeEmpty.codeSample.approved.cs' title='Start of snippet'>anchor</a></sup>
<!-- endSnippet -->

**Exception**
Expand All @@ -29,12 +29,12 @@ powerPlantOnTheWeekend
## ShouldNotBeEmpty

<!-- snippet: EnumerableShouldBeEmptyExamples.ShouldNotBeEmpty.codeSample.approved.cs -->
<a id='211d74b7'></a>
<a id='snippet-EnumerableShouldBeEmptyExamples.ShouldNotBeEmpty.codeSample.approved.cs'></a>
```cs
var moesTavernOnTheWeekend = new List<Person>();
moesTavernOnTheWeekend.ShouldNotBeEmpty();
```
<sup><a href='/src/DocumentationExamples/CodeExamples/EnumerableShouldBeEmptyExamples.ShouldNotBeEmpty.codeSample.approved.cs#L1-L2' title='Snippet source file'>snippet source</a> | <a href='#211d74b7' title='Start of snippet'>anchor</a></sup>
<sup><a href='/src/DocumentationExamples/CodeExamples/EnumerableShouldBeEmptyExamples.ShouldNotBeEmpty.codeSample.approved.cs#L1-L2' title='Snippet source file'>snippet source</a> | <a href='#snippet-EnumerableShouldBeEmptyExamples.ShouldNotBeEmpty.codeSample.approved.cs' title='Start of snippet'>anchor</a></sup>
<!-- endSnippet -->

**Exception**
Expand Down
4 changes: 2 additions & 2 deletions documentation/documentation/enumerable/have.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,14 @@
## ShouldHaveSingleItem

<!-- snippet: EnumerableShouldHaveSingleItemExamples.ShouldHaveSingleItem.codeSample.approved.cs -->
<a id='aa895b2d'></a>
<a id='snippet-EnumerableShouldHaveSingleItemExamples.ShouldHaveSingleItem.codeSample.approved.cs'></a>
```cs
var maggie = new Person { Name = "Maggie" };
var homer = new Person { Name = "Homer" };
var simpsonsBabies = new List<Person> { homer, maggie };
simpsonsBabies.ShouldHaveSingleItem();
```
<sup><a href='/src/DocumentationExamples/CodeExamples/EnumerableShouldHaveSingleItemExamples.ShouldHaveSingleItem.codeSample.approved.cs#L1-L4' title='Snippet source file'>snippet source</a> | <a href='#aa895b2d' title='Start of snippet'>anchor</a></sup>
<sup><a href='/src/DocumentationExamples/CodeExamples/EnumerableShouldHaveSingleItemExamples.ShouldHaveSingleItem.codeSample.approved.cs#L1-L4' title='Snippet source file'>snippet source</a> | <a href='#snippet-EnumerableShouldHaveSingleItemExamples.ShouldHaveSingleItem.codeSample.approved.cs' title='Start of snippet'>anchor</a></sup>
<!-- endSnippet -->

**Exception**
Expand Down
8 changes: 4 additions & 4 deletions documentation/documentation/enumerable/oneOf.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
## ShouldBeOneOf

<!-- snippet: ShouldBeOneOfExamples.ShouldBeOneOf.codeSample.approved.cs -->
<a id='cd4e159a'></a>
<a id='snippet-ShouldBeOneOfExamples.ShouldBeOneOf.codeSample.approved.cs'></a>
```cs
var apu = new Person { Name = "Apu" };
var homer = new Person { Name = "Homer" };
Expand All @@ -13,7 +13,7 @@ var barney = new Person { Name = "Barney" };
var theBeSharps = new List<Person> { homer, skinner, barney };
apu.ShouldBeOneOf(theBeSharps.ToArray());
```
<sup><a href='/src/DocumentationExamples/CodeExamples/ShouldBeOneOfExamples.ShouldBeOneOf.codeSample.approved.cs#L1-L6' title='Snippet source file'>snippet source</a> | <a href='#cd4e159a' title='Start of snippet'>anchor</a></sup>
<sup><a href='/src/DocumentationExamples/CodeExamples/ShouldBeOneOfExamples.ShouldBeOneOf.codeSample.approved.cs#L1-L6' title='Snippet source file'>snippet source</a> | <a href='#snippet-ShouldBeOneOfExamples.ShouldBeOneOf.codeSample.approved.cs' title='Start of snippet'>anchor</a></sup>
<!-- endSnippet -->

**Exception**
Expand All @@ -32,7 +32,7 @@ Apu
## ShouldNotBeOneOf

<!-- snippet: ShouldBeOneOfExamples.ShouldNotBeOneOf.codeSample.approved.cs -->
<a id='595f1455'></a>
<a id='snippet-ShouldBeOneOfExamples.ShouldNotBeOneOf.codeSample.approved.cs'></a>
```cs
var apu = new Person { Name = "Apu" };
var homer = new Person { Name = "Homer" };
Expand All @@ -42,7 +42,7 @@ var wiggum = new Person { Name = "Wiggum" };
var theBeSharps = new List<Person> { apu, homer, skinner, barney, wiggum };
wiggum.ShouldNotBeOneOf(theBeSharps.ToArray());
```
<sup><a href='/src/DocumentationExamples/CodeExamples/ShouldBeOneOfExamples.ShouldNotBeOneOf.codeSample.approved.cs#L1-L7' title='Snippet source file'>snippet source</a> | <a href='#595f1455' title='Start of snippet'>anchor</a></sup>
<sup><a href='/src/DocumentationExamples/CodeExamples/ShouldBeOneOfExamples.ShouldNotBeOneOf.codeSample.approved.cs#L1-L7' title='Snippet source file'>snippet source</a> | <a href='#snippet-ShouldBeOneOfExamples.ShouldNotBeOneOf.codeSample.approved.cs' title='Start of snippet'>anchor</a></sup>
<!-- endSnippet -->

**Exception**
Expand Down
4 changes: 2 additions & 2 deletions documentation/documentation/enumerable/shouldBe.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# ShouldBe

<!-- snippet: EnumerableShouldBeExamples.ShouldBe.codeSample.approved.cs -->
<a id='2fcdbf6d'></a>
<a id='snippet-EnumerableShouldBeExamples.ShouldBe.codeSample.approved.cs'></a>
```cs
var apu = new Person { Name = "Apu" };
var homer = new Person { Name = "Homer" };
Expand All @@ -10,7 +10,7 @@ var barney = new Person { Name = "Barney" };
var theBeSharps = new List<Person> { homer, skinner, barney };
theBeSharps.ShouldBe(new[] { apu, homer, skinner, barney });
```
<sup><a href='/src/DocumentationExamples/CodeExamples/EnumerableShouldBeExamples.ShouldBe.codeSample.approved.cs#L1-L6' title='Snippet source file'>snippet source</a> | <a href='#2fcdbf6d' title='Start of snippet'>anchor</a></sup>
<sup><a href='/src/DocumentationExamples/CodeExamples/EnumerableShouldBeExamples.ShouldBe.codeSample.approved.cs#L1-L6' title='Snippet source file'>snippet source</a> | <a href='#snippet-EnumerableShouldBeExamples.ShouldBe.codeSample.approved.cs' title='Start of snippet'>anchor</a></sup>
<!-- endSnippet -->

**Exception**
Expand Down
4 changes: 2 additions & 2 deletions documentation/documentation/enumerable/subsetOf.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# ShouldBeSubsetOf

<!-- snippet: EnumerableShouldBeSubsetOfExamples.ShouldBeSubsetOf.codeSample.approved.cs -->
<a id='a30fe431'></a>
<a id='snippet-EnumerableShouldBeSubsetOfExamples.ShouldBeSubsetOf.codeSample.approved.cs'></a>
```cs
var lisa = new Person { Name = "Lisa" };
var bart = new Person { Name = "Bart" };
Expand All @@ -13,7 +13,7 @@ var simpsonsKids = new List<Person> { bart, lisa, maggie, ralph };
var simpsonsFamily = new List<Person> { lisa, bart, maggie, homer, marge };
simpsonsKids.ShouldBeSubsetOf(simpsonsFamily);
```
<sup><a href='/src/DocumentationExamples/CodeExamples/EnumerableShouldBeSubsetOfExamples.ShouldBeSubsetOf.codeSample.approved.cs#L1-L9' title='Snippet source file'>snippet source</a> | <a href='#a30fe431' title='Start of snippet'>anchor</a></sup>
<sup><a href='/src/DocumentationExamples/CodeExamples/EnumerableShouldBeSubsetOfExamples.ShouldBeSubsetOf.codeSample.approved.cs#L1-L9' title='Snippet source file'>snippet source</a> | <a href='#snippet-EnumerableShouldBeSubsetOfExamples.ShouldBeSubsetOf.codeSample.approved.cs' title='Start of snippet'>anchor</a></sup>
<!-- endSnippet -->

**Exception**
Expand Down
Loading

0 comments on commit 1e08eef

Please sign in to comment.