Piotr Czajkowski 1 год назад
Родитель
Сommit
20c2ec5178

+ 3 - 0
ExcelORM/ExcelORMTests/ReaderTests.cs

@@ -54,6 +54,9 @@ public class ReaderTests
 
         var resultsWithTitle = reader.Read<Test>("WithTitle", startFrom: 2).ToArray();
         Assert.Equal(results.Length, resultsWithTitle.Length);
+
+        var resultsBadHeader = reader.Read<Test>("BadHeader").ToArray();
+        Assert.Empty(resultsBadHeader);
     }
     
     [Fact]

BIN
ExcelORM/ExcelORMTests/testFiles/columnsOnTheLeftHeaderNotFirstRow.xlsx