]> gitweb.michael.orlitzky.com - hath.git/blobdiff - test/manpage-listed.test
Fix an incorrect example in the man page.
[hath.git] / test / manpage-listed.test
diff --git a/test/manpage-listed.test b/test/manpage-listed.test
new file mode 100644 (file)
index 0000000..e9909bf
--- /dev/null
@@ -0,0 +1,12 @@
+# Test the regexed example from the man page.
+dist/build/hath/hath listed <<< "192.168.0.240/29"
+>>>
+192.168.0.240
+192.168.0.241
+192.168.0.242
+192.168.0.243
+192.168.0.244
+192.168.0.245
+192.168.0.246
+192.168.0.247
+>>>= 0