Skip to content

Commit

Permalink
Humanizr#1186 fixed failing unit tests
Browse files Browse the repository at this point in the history
  • Loading branch information
AJacksonCT committed Jun 7, 2023
1 parent 0cf55b1 commit 60b0494
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ public void DaysAgo(int days, string expected)
[Theory]
[InlineData(1, "في غضون يوم واحد من الآن")]
[InlineData(2, "في غضون يومين من الآن")]
[InlineData(10, "في غضون 10 أيام من الآن")]
[InlineData(10,"في غضون 10 يوم من اليوم")]
[InlineData(17, "في غضون 17 يوم من الآن")]
public void DaysFromNow(int days, string expected)
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ public void DaysAgo(int days, string expected)

[Theory]
[InlineData(1, "besok")]
[InlineData(10, "10 hari dari sekarang")]
[InlineData(10, "10 hari dari hari ini")]
public void DaysFromNow(int days, string expected)
{
DateHumanize.Verify(expected, days, TimeUnit.Day, Tense.Future);
Expand All @@ -82,7 +82,7 @@ public void MonthsAgo(int months, string expected)

[Theory]
[InlineData(1, "sebulan dari sekarang")]
[InlineData(10, "10 bulan dari sekarang")]
[InlineData(10, "10 bulan dari hari ini")]
public void MonthsFromNow(int months, string expected)
{
DateHumanize.Verify(expected, months, TimeUnit.Month, Tense.Future);
Expand Down

0 comments on commit 60b0494

Please sign in to comment.