summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorGravatar Miika Turkia <miika.turkia@gmail.com>2017-02-09 09:41:12 -0800
committerGravatar Dirk Hohndel <dirk@hohndel.org>2017-02-09 09:41:56 -0800
commit0630d584f4b1da352e16362df8ea7206853b36b3 (patch)
tree544e1159d9f0cfa55d0ed9ea75049f2e6e14e77f /tests
parentd3cc3f371b646f6df21d9167237b73d496f11de4 (diff)
downloadsubsurface-0630d584f4b1da352e16362df8ea7206853b36b3.tar.gz
Fix dive number comparison for Seabear import tests
Diffstat (limited to 'tests')
-rw-r--r--tests/testparse.cpp4
1 files changed, 2 insertions, 2 deletions
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.