spec test index / oilshell.org
49 passed, 0 OK, 0 not implemented, 0 BUG, 2 failed, 0 timeouts, 0 cases skipped 2 failed under osh
osh | 28 round trip: decode surrogate half and encode [osh stdout] Expected '(Str) b\'\\ya0\\ybe\'\n"\\ud83e"\n(Str) b\'\\yb4\\ya6\'\n"\\udd26"\n' Got '(Str) b\'\\yed\\ya0\\ybe\'\n"\xef\xbf\xbd\xef\xbf\xbd\xef\xbf\xbd"\n(Str) b\'\\yed\\yb4\\ya6\'\n"\xef\xbf\xbd\xef\xbf\xbd\xef\xbf\xbd"\n' stdout: (Str) b'\yed\ya0\ybe' "���" (Str) b'\yed\yb4\ya6' "���"stderr: |
osh | 42 Inf and NaN can't be encoded or decoded [osh status] Expected 2, got 3 stdout: stderr: var n = float("NaN") ^ [ stdin ]:1: fatal: Cannot convert NaN to Float |