mirror of
https://github.com/subsurface/subsurface.git
synced 2024-11-27 20:58:47 +00:00
Fixed CSV parsing tests.
We now parse CSV and not TSV files. Signed-off-by: Michael Keller <github@ike.ch>
This commit is contained in:
parent
1bd7806dcf
commit
361baeda01
1 changed files with 2 additions and 2 deletions
|
@ -293,7 +293,7 @@ int TestParse::parseCSVmanual(int units, std::string file)
|
|||
xml_params_add_int(¶ms, "weightField", 23);
|
||||
xml_params_add_int(¶ms, "tagsField", 24);
|
||||
// Numbers are indices of possible options
|
||||
xml_params_add_int(¶ms, "separatorIndex", 0);
|
||||
xml_params_add_int(¶ms, "separatorIndex", 1);
|
||||
xml_params_add_int(¶ms, "datefmt", 2);
|
||||
xml_params_add_int(¶ms, "durationfmt", 2);
|
||||
xml_params_add_int(¶ms, "units", units);
|
||||
|
@ -351,7 +351,7 @@ void TestParse::exportSubsurfaceCSV()
|
|||
|
||||
clear_dive_file_data();
|
||||
|
||||
xml_params_add_int(¶ms, "separatorIndex", 0);
|
||||
xml_params_add_int(¶ms, "separatorIndex", 1);
|
||||
xml_params_add_int(¶ms, "units", 1);
|
||||
parse_csv_file("testcsvexportmanualimperial-cyl.csv", ¶ms, "SubsurfaceCSV", &divelog);
|
||||
|
||||
|
|
Loading…
Reference in a new issue