diff options
author | Dirk Hohndel <dirk@hohndel.org> | 2012-09-15 18:32:15 -0700 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2012-09-17 21:03:30 -0400 |
commit | 421366d0fb52db317276ec404adb0c45cf398f29 (patch) | |
tree | 2ac96c86bf2ddc0ff37305081b84b42dc0b31a84 /dives/test24.xml | |
parent | 0d637c2fa915d13af8e00d5f236d3f111101c6e3 (diff) | |
download | subsurface-421366d0fb52db317276ec404adb0c45cf398f29.tar.gz |
Correctly deal with empty XML files
Previously we could end up with a bogus dive with all zero data in it.
Adding dives/test24.xml to be able to test that we handle this case
correctly.
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'dives/test24.xml')
-rw-r--r-- | dives/test24.xml | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/dives/test24.xml b/dives/test24.xml new file mode 100644 index 000000000..8ddc9be42 --- /dev/null +++ b/dives/test24.xml @@ -0,0 +1,4 @@ +<dives> +<program name='subsurface' version='1'></program> +</dives> +<!-- intentionally empty dive file - should register as no dives --> |