Skip to content

Commit 3722348

Browse files
committed
Address review comments
1 parent 26d801c commit 3722348

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/test/how-to-create-a-data-driven-unit-test.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ As an example, let's assume that you have:
4444

4545
5. A unit test class called `MathsTests` to verify the behavior of the `Maths` class.
4646

47-
We will test a method in `Maths` that adds two integers using a loop:
47+
We'll test a method in `Maths` that adds two integers using a loop:
4848

4949
```csharp
5050
public int AddIntegers(int first, int second)
@@ -112,7 +112,7 @@ public void AddIntegers_FromDynamicDataTest(int x, int y, int expected)
112112
}
113113
```
114114

115-
It is also possible to override the default generated display name, using the `DynamicDataDisplayName` property of the `DynamicData` attribute. The display name method signature must be `publc static string` and accept two parameters; the first of type `MethodInfo` and the second of type `object[]`.
115+
It is also possible to override the default generated display name, using the `DynamicDataDisplayName` property of the `DynamicData` attribute. The display name method signature must be `publc static string` and accept two parameters, the first of type `MethodInfo` and the second of type `object[]`.
116116

117117
```csharp
118118
public static string GetCustomDynamicDataDisplayName(MethodInfo methodInfo, object[] data)

0 commit comments

Comments
 (0)