summaryrefslogtreecommitdiffstats
path: root/test/books
diff options
context:
space:
mode:
authorSamy Pesse <samypesse@gmail.com>2015-05-27 21:05:36 +0200
committerSamy Pesse <samypesse@gmail.com>2015-05-27 21:05:36 +0200
commit36e2236e6bad2071ae604eccb46331bb7da3b79c (patch)
treea8aafce09b34979dbb3bc38ad6fb3df30725baa6 /test/books
parent72df665520353d404efbf9fe46d3afd73631884e (diff)
downloadgitbook-36e2236e6bad2071ae604eccb46331bb7da3b79c.zip
gitbook-36e2236e6bad2071ae604eccb46331bb7da3b79c.tar.gz
gitbook-36e2236e6bad2071ae604eccb46331bb7da3b79c.tar.bz2
Fix #765: in init handle correctly empty entries
Add tests for it, fix #769
Diffstat (limited to 'test/books')
-rw-r--r--test/books/init/.gitignore3
-rw-r--r--test/books/init/SUMMARY.md6
2 files changed, 9 insertions, 0 deletions
diff --git a/test/books/init/.gitignore b/test/books/init/.gitignore
new file mode 100644
index 0000000..8a88b2a
--- /dev/null
+++ b/test/books/init/.gitignore
@@ -0,0 +1,3 @@
+*
+!SUMMARY.md
+!.gitignore
diff --git a/test/books/init/SUMMARY.md b/test/books/init/SUMMARY.md
new file mode 100644
index 0000000..1e63aed
--- /dev/null
+++ b/test/books/init/SUMMARY.md
@@ -0,0 +1,6 @@
+# Summary
+
+* [Hello](hello.md)
+* [Hello 2](hello2.md)
+* Hello 3
+ * [Hello 4](hello3/hello4.md)