From 0630d584f4b1da352e16362df8ea7206853b36b3 Mon Sep 17 00:00:00 2001 From: Miika Turkia Date: Thu, 9 Feb 2017 09:41:12 -0800 Subject: Fix dive number comparison for Seabear import tests --- tests/testparse.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'tests') diff --git a/tests/testparse.cpp b/tests/testparse.cpp index 67a215dbd..c9c543c37 100644 --- a/tests/testparse.cpp +++ b/tests/testparse.cpp @@ -350,8 +350,8 @@ void TestParse::testParseNewFormat() QCOMPARE(parse_seabear_csv_file(file.toUtf8().data(), params, pnr - 1, "csv"), 0); -// currently the CSV parse fails -// QCOMPARE(dive_table.nr, 1); + QCOMPARE(dive_table.nr, i + 1); + /* * Set artificial but static dive times so the result * can be compared to saved one. -- cgit v1.2.3-70-g09d2