expand.tests 483 B

123456789101112131415161718192021222324
  1. #!/bin/sh
  2. # Copyright 2008 by Denys Vlasenko
  3. # Licensed under GPL v2, see file LICENSE for details.
  4. . ./testing.sh
  5. # testing "test name" "options" "expected result" "file input" "stdin"
  6. testing "expand" \
  7. "expand" \
  8. " 12345678 12345678\n" \
  9. "" \
  10. "\t12345678\t12345678\n"
  11. optional UNICODE_SUPPORT
  12. testing "expand with unicode characher 0x394" \
  13. "expand" \
  14. "Δ 12345ΔΔΔ 12345678\n" \
  15. "" \
  16. "Δ\t12345ΔΔΔ\t12345678\n"
  17. SKIP=
  18. exit $FAILCOUNT