Permalink
Browse files

change test format

  • Loading branch information...
Andy Chu
Andy Chu committed Jun 5, 2018
1 parent 1b5e279 commit 00c299ef766d642e131fa8ec1e009b15145ec3dd
Showing with 6 additions and 2 deletions.
  1. +6 −2 spec/builtin-io.test.sh
View
@@ -124,15 +124,19 @@ flags='-e'
case $SH in */dash) flags='' ;; esac
echo $flags 'abcd\u0065f'
# stdout-json: "abcdef\n"
## STDOUT:
abcdef
## END
# N-I dash/ash stdout-json: "abcd\\u0065f\n"
### echo -e with 8 digit unicode escape
flags='-e'
case $SH in */dash) flags='' ;; esac
echo $flags 'abcd\U00000065f'
# stdout-json: "abcdef\n"
## STDOUT:
abcdef
## END
# N-I dash/ash stdout-json: "abcd\\U00000065f\n"
### \0377 is the highest octal byte

0 comments on commit 00c299e

Please sign in to comment.