Skip to content

Commit

Permalink
fix issue number in test
Browse files Browse the repository at this point in the history
  • Loading branch information
AZhrZho committed Apr 24, 2024
1 parent abe47ba commit 8eb5264
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions tests/MiniExcelTests/MiniExcelIssueTests.cs
Original file line number Diff line number Diff line change
Expand Up @@ -3461,22 +3461,22 @@ public void Issue422()
Assert.Equal(1, enumerableWithCount.GetEnumeratorCount);
}

public class Issue20240424VO1
public class Issue585VO1
{
public string Col1 { get; set; }
public string Col2 { get; set; }
public string Col3 { get; set; }
}

public class Issue20240424VO2
public class Issue585VO2
{
public string Col1 { get; set; }
[ExcelColumnName("Col2")]
public string Prop2 { get; set; }
public string Col3 { get; set; }
}

public class Issue20240424VO3
public class Issue585VO3
{
public string Col1 { get; set; }
[ExcelColumnIndex("B")]
Expand All @@ -3485,17 +3485,17 @@ public class Issue20240424VO3
}

[Fact]
public void Issue20240424()
public void Issue585()
{
var path = @"../../../../../samples/xlsx/TestIssue585.xlsx";

var items1 = MiniExcel.Query<Issue20240424VO1>(path);
var items1 = MiniExcel.Query<Issue585VO1>(path);
Assert.Equal(2, items1.Count());

var items2 = MiniExcel.Query<Issue20240424VO2>(path);
var items2 = MiniExcel.Query<Issue585VO2>(path);
Assert.Equal(2, items2.Count());

var items3 = MiniExcel.Query<Issue20240424VO3>(path);
var items3 = MiniExcel.Query<Issue585VO3>(path);
Assert.Equal(2, items3.Count());
}
}
Expand Down

0 comments on commit 8eb5264

Please sign in to comment.