🐙 Templated web page generator for your git repositories
git clone https://github.com/m-col/gitja
Files | Refs | Readme | License

Commit 737c3b80c0a33f8db1b7bf5eaa3eca949049f553
Parent: c8ffa6a73a9e46f46ec431d3ed6f3c94b9c5109a
Author: mcol <mcol@posteo.net>
Date: 2021-11-27 18:46:35 +0000
Committer: mcol <mcol@posteo.net>
Committed: 2021-11-27 18:47:18 +0000

fix folder content test

test/test.sh Modified

@@ -36,7 +36,7 @@
     "static/a_nice_file"
     "gitserve/index.html"
     "gitserve/commit/0292014748caae952bbc8dd6225680d83c0a5135.html"
-    "gitserve/file/test.templates.html"
+    "gitserve/file/test.expected.gitserve.file.html"
     "gitserve/file/test.templates.style.css.html"
 )
 

test/expected/gitserve/file/test.templates.html Deleted

@@ -1,23 +0,0 @@
-test/templates
-scope: file
-file: test/templates
-file.path: test/templates
-file.href: test.templates.html
-file.contents: [&quot;test/templates/index.html&quot;,&quot;test/templates/repo&quot;,&quot;test/templates/repo/commit.html&quot;,&quot;test/templates/repo/file.html&quot;,&quot;test/templates/repo/index.html&quot;,&quot;test/templates/static&quot;,&quot;test/templates/static/a_nice_file&quot;,&quot;test/templates/style.css&quot;,&quot;test/templates/title.html.include&quot;]
-file.mode: Directory
-file.mode_octal: 40000
-file.mode_symbolic: drwxr-xr-x
-if file.is_directory then "directory" else "file": "directory"
-
-file scope also should have data from repo scope available:
-host: https://github.com/m-col/gitserve
-repos: gitserve
-name: gitserve
-description: 🐙 Templated web page generator for your git repositories
-commits: (skipped)
-tree: (skipped)
-tags: (skipped)
-branches: master
-    branches[0].name: master
-readme.path: README.rst
-license.path: LICENSE

test/expected/gitserve/file/test.expected.gitserve.file.html Added

@@ -0,0 +1,23 @@
+test/expected/gitserve/file
+scope: file
+file: test/expected/gitserve/file
+file.path: test/expected/gitserve/file
+file.href: test.expected.gitserve.file.html
+file.contents: [&quot;test/expected/gitserve/file/test.expected.gitserve.file.html&quot;,&quot;test/expected/gitserve/file/test.templates.style.css.html&quot;]
+file.mode: Directory
+file.mode_octal: 40000
+file.mode_symbolic: drwxr-xr-x
+if file.is_directory then "directory" else "file": "directory"
+
+file scope also should have data from repo scope available:
+host: https://github.com/m-col/gitserve
+repos: gitserve
+name: gitserve
+description: 🐙 Templated web page generator for your git repositories
+commits: (skipped)
+tree: (skipped)
+tags: (skipped)
+branches: master
+    branches[0].name: master
+readme.path: README.rst
+license.path: LICENSE