mirror of
https://gitee.com/dotnetchina/MiniExcel.git
synced 2024-11-30 02:47:39 +08:00
Fix TestIssue261 path could not find file
This commit is contained in:
parent
f2d2faaf7b
commit
22fa99981e
@ -32,7 +32,7 @@ namespace MiniExcelLibs.Tests
|
||||
[Fact]
|
||||
public void TestIssue261()
|
||||
{
|
||||
var csvPath = @"D:\git\MiniExcel\samples\csv\TestCsvToXlsx.csv";
|
||||
var csvPath = PathHelper.GetSamplePath("csv/TestCsvToXlsx.csv");
|
||||
var xlsxPath = Path.Combine(Path.GetTempPath(), Guid.NewGuid().ToString() + ".xlsx");
|
||||
CsvToXlsx(csvPath, xlsxPath);
|
||||
var rows = MiniExcel.Query(xlsxPath).ToList();
|
||||
|
Loading…
Reference in New Issue
Block a user