X-Git-Url: http://gitweb.michael.orlitzky.com/?a=blobdiff_plain;f=test%2Fmanpage-diffed.test;fp=test%2Fmanpage-diffed.test;h=5cd4f67f1c074935e1cccdd57a6de91731718d1f;hb=b60a55a3e5ed9b9c3fa58405832bda095bb89d60;hp=0000000000000000000000000000000000000000;hpb=e8454fd0eb8af01dbba627ed707a7a45103daf3d;p=hath.git diff --git a/test/manpage-diffed.test b/test/manpage-diffed.test new file mode 100644 index 0000000..5cd4f67 --- /dev/null +++ b/test/manpage-diffed.test @@ -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