Skip to content

Commit 8ebf437

Browse files
committed
Typo
1 parent 4c5a813 commit 8ebf437

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Diff for: _posts/2021-05-10-WriteTestsThatUseDateTimeNow.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ public class CreditCardValidationTests
2727
{
2828
var validator = new CreditCardValidator();
2929

30-
var creditCard = new CreditCardBuilder()
30+
var request = new CreditCardBuilder()
3131
.WithExpirationYear(DateTime.Now.AddYears(-1).Year)
3232
// ^^^^^
3333
.Build();
@@ -41,7 +41,7 @@ public class CreditCardValidationTests
4141
{
4242
var validator = new CreditCardValidator();
4343

44-
var creditCard = new CreditCardBuilder()
44+
var request = new CreditCardBuilder()
4545
.WithExpirationMonth(DateTime.Now.AddMonths(-1).Month)
4646
// ^^^^^
4747
.Build();

0 commit comments

Comments
 (0)