File tree 2 files changed +6
-6
lines changed 2 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -12,7 +12,7 @@ namespace Microsoft.AspNetCore.Http.Features;
12
12
public static class FeatureCollectionExtensions
13
13
{
14
14
/// <summary>
15
- /// Retrives the requested feature from the collection.
15
+ /// Retrieves the requested feature from the collection.
16
16
/// Throws an <see cref="InvalidOperationException"/> if the feature is not present.
17
17
/// </summary>
18
18
/// <param name="featureCollection">The <see cref="IFeatureCollection"/>.</param>
@@ -27,7 +27,7 @@ public static TFeature GetRequiredFeature<TFeature>(this IFeatureCollection feat
27
27
}
28
28
29
29
/// <summary>
30
- /// Retrives the requested feature from the collection.
30
+ /// Retrieves the requested feature from the collection.
31
31
/// Throws an <see cref="InvalidOperationException"/> if the feature is not present.
32
32
/// </summary>
33
33
/// <param name="featureCollection">feature collection</param>
Original file line number Diff line number Diff line change @@ -17,15 +17,15 @@ public void AddedFeatureGetsReturned()
17
17
features . Set < IThing > ( thing ) ;
18
18
19
19
// Act
20
- var retrivedThing = features . GetRequiredFeature < IThing > ( ) ;
20
+ var retrievedThing = features . GetRequiredFeature < IThing > ( ) ;
21
21
22
22
// Assert
23
- Assert . NotNull ( retrivedThing ) ;
24
- Assert . Equal ( retrivedThing , thing ) ;
23
+ Assert . NotNull ( retrievedThing ) ;
24
+ Assert . Equal ( retrievedThing , thing ) ;
25
25
}
26
26
27
27
[ Fact ]
28
- public void ExceptionThrowned_WhenAskedForUnknownFeature ( )
28
+ public void ExceptionThrown_WhenAskedForUnknownFeature ( )
29
29
{
30
30
// Arrange
31
31
var features = new FeatureCollection ( ) ;
You can’t perform that action at this time.
0 commit comments