Skip to content

Commit

Permalink
Updated unit tests.
Browse files Browse the repository at this point in the history
  • Loading branch information
JoshClose committed Oct 14, 2012
1 parent a5ec825 commit cc8e4ad
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/CsvHelper.Tests/CsvParserTests.cs
Original file line number Diff line number Diff line change
Expand Up @@ -239,6 +239,8 @@ public void Parse1RecordWithNoCrlfTest()
Assert.Equal( "one", record[0] );
Assert.Equal( "two", record[1] );
Assert.Equal( "three", record[2] );

Assert.Null( parser.Read() );
}
}

Expand All @@ -262,6 +264,8 @@ public void Parse2RecordsLastWithNoCrlfTest()
Assert.Equal( "four", record[0] );
Assert.Equal( "five", record[1] );
Assert.Equal( "six", record[2] );

Assert.Null( parser.Read() );
}
}

Expand Down

0 comments on commit cc8e4ad

Please sign in to comment.