Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 0075dc5

Browse files
authored
Use TestMethod instead of DataTestMethod (#7003)
1 parent 945afd8 commit 0075dc5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

core/getting-started/unit-testing-using-mstest/PrimeService.Tests/PrimeService_IsPrimeShould.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ public void IsPrime_InputIs1_ReturnFalse()
2222
}
2323

2424
#region Sample_TestCode
25-
[DataTestMethod]
25+
[TestMethod]
2626
[DataRow(-1)]
2727
[DataRow(0)]
2828
[DataRow(1)]

0 commit comments

Comments
 (0)