summaryrefslogtreecommitdiffstats
path: root/dives/test1.xml
diff options
context:
space:
mode:
authorGravatar Dirk Hohndel <dirk@hohndel.org>2011-11-09 07:41:41 -0800
committerGravatar Dirk Hohndel <dirk@hohndel.org>2011-11-09 07:53:10 -0800
commite38eb77e30c2d0d06eb61db0cd1bdf3f5e164e8d (patch)
tree498bd104465ed888b48ccac2bbaadbb69920cda8 /dives/test1.xml
parent4b735521e2561fe6d03f9f94122fbdc58f48e4a5 (diff)
downloadsubsurface-e38eb77e30c2d0d06eb61db0cd1bdf3f5e164e8d.tar.gz
Correctly plot dives ending below the surface
I thought we had fixed this before - but I guess it got broken again somewhere. We now make sure that the plot_info ends on an entry with depth 0. Added test14 to verify the fix. Also fixed cut'n'paste errors in a few test dive files. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'dives/test1.xml')
-rw-r--r--dives/test1.xml5
1 files changed, 3 insertions, 2 deletions
diff --git a/dives/test1.xml b/dives/test1.xml
index 8ea8b7b24..6aa79736e 100644
--- a/dives/test1.xml
+++ b/dives/test1.xml
@@ -2,6 +2,7 @@
<program name='subsurface' version='1'></program>
<dive number='1' date='2011-01-01' time='09:00:00' duration='30:00 min'>
<depth max='30.00 m' mean='15.00 m' />
- <location>Second test dive, this one with location</location>
+ <location>First test dive, this one with location</location>
+ <notes>Yes, the previous dive is dive 0, that one with no location.</notes>
</dive>
-</dives> \ No newline at end of file
+</dives>