Skip to content

Commit 0e4078f

Browse files
authored
scanner: uncomment working rune test (#25305)
1 parent 1000ada commit 0e4078f

1 file changed

Lines changed: 7 additions & 10 deletions

File tree

‎vlib/v/scanner/scanner_test.v‎

Lines changed: 7 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -151,16 +151,13 @@ fn test_ref_ref_array_ref_ref_foo() {
151151
}
152152

153153
fn test_escape_rune() {
154-
// these lines work if the v compiler is working
155-
// will not work until v compiler on github is updated
156-
// assert `\x61` == `a`
157-
// assert `\u0061` == `a`
158-
// assert `\U00000061` == `a`
159-
160-
// will not work until PR is accepted
161-
// assert `\141` == `a`
162-
// assert `\xe2\x98\x85` == `★`
163-
// assert `\342\230\205` == `★`
154+
assert `\x61` == `a`
155+
assert `\u0061` == `a`
156+
assert `\U00000061` == `a`
157+
158+
assert `\141` == `a`
159+
assert `\xe2\x98\x85` == `★`
160+
assert `\342\230\205` == `★`
164161

165162
// the following lines test the scanner module
166163
// even before it is compiled into the v executable

0 commit comments

Comments
 (0)