Daniel Shahaf
d5d2f22013
Revert "test harness: Rewrite the columnar pretty-printer without external tools." and "travis: Remove bsdmainutils since column(1) has been removed, three commits ago."
...
This reverts commits ea7c165b592f4a8b93a372113c600b3cfa36601e and
3d81c83132e8798e72590ee8d7e956558113e9c3.
When "have 6 expectations and 4 region_highlight entries", the pure-zsh
implementation printed them as follows:
not ok 7 - cardinality check - have 6 expectations and 4 region_highlight entries: «expected_region_highlight=( $'1 1 builtin' $'3 6 comment' $'8 13 comment' $'15 15 default' $'16 21 comment' $'22 22 default' )»
«region_highlight=( $'0 1 builtin' $'2 6 comment' $'7 13 comment' $'14 22 default' )»
# expected_region_highlight '22 22 default'
# '1 1 builtin' region_highlight
# '3 6 comment' '0 1 builtin'
# '8 13 comment' '2 6 comment'
# '15 15 default' '7 13 comment'
# '16 21 comment' '14 22 default'
Whereas the column(1)-based implementation prints them as follows:
not ok 7 - cardinality check - have 6 expectations and 4 region_highlight entries: «expected_region_highlight=( $'1 1 builtin' $'3 6 comment' $'8 13 comment' $'15 15 default' $'16 21 comment' $'22 22 default' )» «region_highlight=( $'0 1 builtin' $'2 6 comment' $'7 13 comment' $'14 22 default' )»
# expected_region_highlight region_highlight
# '1 1 builtin' '0 1 builtin'
# '3 6 comment' '2 6 comment'
# '8 13 comment' '7 13 comment'
# '15 15 default' '14 22 default'
# '16 21 comment'
# '22 22 default'
Ultimately, this difference is down to the pure-zsh implementation
getting the arguments as a single list, whereas paste(1) gets two
separate lists.
2020-03-20 00:03:01 +00:00
Daniel Shahaf
3d81c83132
travis: Remove bsdmainutils since column(1) has been removed, three commits ago.
2020-03-19 05:11:21 +00:00
Daniel Shahaf
66021cf0f7
travis: Install bsdmainutils to provide column(1).
...
See the last commit,
bdb4e8b70e784e5149d7de9323074696653798cd test harness: When the cardinality check fails, pretty-print \$expected_region_highlight and \$region_highlight.
2020-03-17 17:17:51 +00:00
Julien Nicoulaud
650dd79d86
tests: use zshusers/zsh image with tags (see zsh-users/zsh-docker#16 )
2019-05-25 13:59:59 +02:00
Matthew Martin
a109ab54f0
CI: Add zsh 5.7 and 5.7.1
2019-03-21 22:59:11 -05:00
Julien Nicoulaud
8348e2d2cc
Enable testing on zsh 5.5.x/5.6.x releases
2018-09-22 21:27:01 +02:00
Julien Nicoulaud
02a37dd919
CI: install packages required by test suite
2018-04-11 22:19:49 +02:00
Julien Nicoulaud
02b839550f
CI: add zsh 5.5
2018-04-11 22:00:50 +02:00
Julien Nicoulaud
8146d58bb2
CI: customize IRC notifcation message
2017-09-28 19:07:24 +02:00
Julien Nicoulaud
3d26cb8146
tests: run the most recent versions first
2017-09-11 19:29:58 +02:00
Julien Nicoulaud
873b9955c7
tests: add zsh 5.4.2
2017-09-11 19:27:52 +02:00
Julien Nicoulaud
6f149dfc5e
Tests: add zsh 5.4 and 5.4.1
2017-08-10 20:26:11 +02:00
Julien Nicoulaud
bbaae63f2e
#440 : Test on Zsh master and intermediate releases since 4.3.11
2017-08-01 17:55:23 +02:00
Julien Nicoulaud
d43fe3ab70
#440 : Setup IRC/gitter notifications
2017-08-01 00:56:30 +02:00
Julien Nicoulaud
7e840ff2db
#440 : Fix Travis-CI configuration
2017-08-01 00:56:30 +02:00
Julien Nicoulaud
176a019434
#440 : Add Travis-CI configuration
2017-08-01 00:56:30 +02:00