Commit graph

10 commits

Author SHA1 Message Date
Joseph Crail
66e109f683 Fix broken tests. 2015-05-30 20:53:07 -04:00
Joseph Crail
edb3295303 Move helper methods for tests to separate module. 2015-05-29 13:47:00 -04:00
kwantam
cee1837879 slight clarification / refactoring in unexpand
This keeps equivalent functionality but makes the code slightly cleaner.
Also added one more test case.
2015-05-07 18:12:32 -04:00
kwantam
feee266b20 fix/rewrite unexpand and its tests
This is a reworked version of unexpand. I did this for two main
reasons:

1. The previous version of unexpand had issues correctly computing
   tabstops when the `-a` flag was supplied.

2. The previous version assumed the input was UTF-8. This version works
   with non-UTF-8 inputs.

3. This version has a new flag, -U, which forces unexpand to
   treat input as 8-bit ASCII rather than interpreting it
   as UTF-8. This might be handy in some cases.
2015-04-29 01:09:27 -04:00
Michael Gehring
d187dc574b std::io -> std::old_io 2015-01-29 08:45:37 +01:00
Michael Gehring
4d6cbfa393 Disable unstable warnings for now 2015-01-10 20:44:56 +01:00
Michael Gehring
52ea352ca3 test/{seq,tr,truncate,unexpand}: fix build 2014-11-20 20:46:45 +01:00
Michael Gehring
3244416b19 fail! -> panic! 2014-10-30 10:06:47 +01:00
Arcterus
01c2a0b9ff Remove all warnings (at least on Linux) 2014-09-16 20:08:40 -07:00
Virgile Andreani
49a733a864 Implement unexpand 2014-07-28 19:36:33 +02:00