Write tests for CSV exporter

This commit is contained in:
2016-03-25 07:09:06 -04:00
parent 9e410f8395
commit 28dad560a6
2 changed files with 116 additions and 1 deletions

View File

@@ -64,7 +64,7 @@ public class HabitsCSVExporter
for(Habit h : habits)
{
String habitDirName = String.format("%03d %s/", h.position, h.name);
String habitDirName = String.format("%03d %s/", h.position + 1, h.name);
new File(exportDirName + habitDirName).mkdirs();
generateDirs.add(habitDirName);