Skip to content

Commit ce71351

Browse files
author
Andy C
committed
[eggex] Fix tests broken by previous change
1 parent 3472eeb commit ce71351

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

spec/ysh-regex.test.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -153,11 +153,11 @@ shopt -s ysh:all
153153

154154
var pat = null
155155

156-
setvar pat = / [ \x00 - \x0f ] /
156+
setvar pat = / [ \x01 - \x0f ] /
157157
echo $pat | od -A n -t x1
158158

159159
## STDOUT:
160-
5b 00 2d 0f 5d 0a
160+
5b 01 2d 0f 5d 0a
161161
## END
162162

163163

test/ysh-runtime-errors.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -331,8 +331,8 @@ EOF
331331
_ysh-should-run ' = / [ \u{0}-\u{1} ] /'
332332

333333
# Too high
334-
_ysh-error-1 'var x =/ [ \u{80} ] /; echo $x'
335-
_ysh-error-1 'var x = / [ \u{7f}-\u{80} ] /; echo $x'
334+
_ysh-error-1 'var x =/ [ \y80 ] /; echo $x'
335+
_ysh-error-1 'var x = / [ \y7f-\y80 ] /; echo $x'
336336

337337
# Now test special characters
338338
_ysh-should-run "$(cat <<'EOF'

0 commit comments

Comments
 (0)