]> gitweb.michael.orlitzky.com - hath.git/blobdiff - test/manpage-diffed.test
Fix an incorrect example in the man page.
[hath.git] / test / manpage-diffed.test
diff --git a/test/manpage-diffed.test b/test/manpage-diffed.test
new file mode 100644 (file)
index 0000000..5cd4f67
--- /dev/null
@@ -0,0 +1,7 @@
+# Test the regexed example from the man page.
+dist/build/hath/hath diffed <<< "10.0.0.0/24 10.0.1.0/24"
+>>>
+-10.0.0.0/24
+-10.0.1.0/24
++10.0.0.0/23
+>>>= 0