[1820] in BarnOwl Developers
Re: [PATCH 2/3] Add fill-paragraph test case for owl_editwin
daemon@ATHENA.MIT.EDU (Nelson Elhage)
Thu Oct 29 18:22:43 2009
Resent-From: nelhage@mit.edu
Resent-To: barnowl-dev-mtg@charon.mit.edu
X-Original-To: nelhage@lunatique.mit.edu
Date: Mon, 19 Oct 2009 21:02:19 -0400
From: Nelson Elhage <nelhage@MIT.EDU>
To: David Benjamin <davidben@mit.edu>
Cc: barnowl-dev@mit.edu
In-Reply-To: <1255998626-11366-3-git-send-email-davidben@mit.edu>
I would consider rewriting these tests to check that every line in the
wrapped version is <= 80 characters in length, rather than checking
the exact result.
This would both be more flexible to slight changes in the wrapping
algorithm, and would possibly make for cleaner test code.