Index: lib/src/prism/tests/languages/git/command_feature.test |
diff --git a/lib/src/prism/tests/languages/git/command_feature.test b/lib/src/prism/tests/languages/git/command_feature.test |
new file mode 100644 |
index 0000000000000000000000000000000000000000..488f0be3923c2dbd90ccc0eb46cc64922789488c |
--- /dev/null |
+++ b/lib/src/prism/tests/languages/git/command_feature.test |
@@ -0,0 +1,15 @@ |
+$ git add file.txt |
+foo@foobar ~ $ git diff --cached |
+$ git log -p -i |
+ |
+---------------------------------------------------- |
+ |
+[ |
+ ["command", ["$ git add file.txt"]], |
+ ["command", ["foo@foobar ~ $ git diff", ["parameter", " --cached"]]], |
+ ["command", ["$ git log", ["parameter", " -p"], ["parameter", " -i"]]] |
+] |
+ |
+---------------------------------------------------- |
+ |
+Checks for git commands, with and without parameters. |