3
0

expand.tests 455 B

123456789101112131415161718192021
  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. testing "expand with unicode characher 0x394" \
  12. "expand" \
  13. "Δ 12345ΔΔΔ 12345678\n" \
  14. "" \
  15. "Δ\t12345ΔΔΔ\t12345678\n" \
  16. exit $FAILCOUNT