Skip to content

Commit

Permalink
Fix test issues
Browse files Browse the repository at this point in the history
  • Loading branch information
bchavez committed Nov 24, 2015
1 parent 5b2573a commit 55be95d
Showing 1 changed file with 10 additions and 2 deletions.
12 changes: 10 additions & 2 deletions Source/Bogus.Tests/PersonTest.cs
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,11 @@ public void can_generate_cpr_nummer_for_denmark()

obtained.Dump();

obtained.Should().Be("220387-7786");
var a = obtained.Split('-')[0];
var b = obtained.Split('-')[1];

a.Length.Should().Be(6);
b.Length.Should().Be(4);
}

[Test]
Expand All @@ -84,7 +88,11 @@ public void can_generate_henkilötunnus_for_finland()
var p = new Person();
var obtained = p.Henkilötunnus();

obtained.Should().Be("220387-7788");
var a = obtained.Split('-')[0];
var b = obtained.Split('-')[1];

a.Length.Should().Be(6);
b.Length.Should().Be(4);
}

IEnumerable<string> Get(int times, Func<Person, string> a)
Expand Down

0 comments on commit 55be95d

Please sign in to comment.