Results for ysh-unicode.test.sh

statusosh
pass 6
FAIL 1
total7
caseoshdescription
0pass ${#s} and len(s)
1pass JSON \uXXXX\uYYYY as max code point - can't go above
2pass Parsing data - J8 rejects \u{110000}
3pass Parsing source code - YSH rejects \u{110000}
4FAIL Parsing source code - YSH source code rejects encoded string
details
5pass JSON and J8 reject encoded string above max code point
6pass Max code point: json, json8, = keyword, pp line
6 passed, 0 OK, 0 not implemented, 0 BUG, 1 failed, 0 timeouts, 0 cases skipped
1 failed under osh

Details on runs that didn't PASS

osh4 Parsing source code - YSH source code rejects encoded string

[osh stdout] Expected '', got '(Str) "\xf4\x8f\xbf\xbf"\nstatus=0\n(Str) b\'\\yf4\\y90\\y80\\y80\'\nstatus=0\n'

stdout:
(Str)   "􏿿"
status=0
(Str)   b'\yf4\y90\y80\y80'
status=0
stderr: