Vous ne pouvez pas sélectionner plus de 25 sujets Les noms de sujets doivent commencer par une lettre ou un nombre, peuvent contenir des tirets ('-') et peuvent comporter jusqu'à 35 caractères.

56 lignes
1.0 KiB

il y a 6 ans
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.
il y a 4 ans
  1. language: generic
  2. sudo: required
  3. env:
  4. - ZSH=master
  5. - ZSH=5.8
  6. - ZSH=5.7.1
  7. - ZSH=5.7
  8. - ZSH=5.6.2
  9. - ZSH=5.6.1
  10. - ZSH=5.6
  11. - ZSH=5.5.1
  12. - ZSH=5.5
  13. - ZSH=5.4.2
  14. - ZSH=5.4.1
  15. - ZSH=5.4
  16. - ZSH=5.3.1
  17. - ZSH=5.3
  18. - ZSH=5.2
  19. - ZSH=5.1.1
  20. - ZSH=5.1
  21. - ZSH=5.0.8
  22. - ZSH=5.0.7
  23. - ZSH=5.0.6
  24. - ZSH=5.0.5
  25. - ZSH=5.0.4
  26. - ZSH=5.0.3
  27. - ZSH=5.0.2
  28. - ZSH=5.0.1
  29. - ZSH=5.0.0
  30. - ZSH=4.3.17
  31. - ZSH=4.3.16
  32. - ZSH=4.3.15
  33. - ZSH=4.3.14
  34. - ZSH=4.3.13
  35. - ZSH=4.3.12
  36. - ZSH=4.3.11
  37. script: docker run -v $PWD:/work -w /work zshusers/zsh:${ZSH} /bin/sh -c 'install_packages make procps bsdmainutils && make test'
  38. notifications:
  39. webhooks:
  40. urls:
  41. - https://webhooks.gitter.im/e/367e241cdea60cb2070b
  42. on_success: change
  43. on_failure: always
  44. on_start: never
  45. irc:
  46. channels:
  47. - "chat.freenode.net#zsh-syntax-highlighting"
  48. on_success: change
  49. on_failure: always
  50. on_start: never
  51. use_notice: true
  52. template:
  53. - "%{repository}/%{branch}#%{build_number}: %{message} Changes : %{compare_url} | Build : %{build_url}"