From 0e4078f27de3c55a74f61aca6af6768b10f935ba Mon Sep 17 00:00:00 2001 From: Swastik Baranwal Date: Sun, 14 Sep 2025 22:06:28 +0530 Subject: [PATCH] scanner: uncomment working rune test (#25305) --- vlib/v/scanner/scanner_test.v | 15 ++++++--------- 1 file changed, 6 insertions(+), 9 deletions(-) diff --git a/vlib/v/scanner/scanner_test.v b/vlib/v/scanner/scanner_test.v index 5ab27e9fbc..7e2eb5111d 100644 --- a/vlib/v/scanner/scanner_test.v +++ b/vlib/v/scanner/scanner_test.v @@ -151,16 +151,13 @@ fn test_ref_ref_array_ref_ref_foo() { } fn test_escape_rune() { - // these lines work if the v compiler is working - // will not work until v compiler on github is updated - // assert `\x61` == `a` - // assert `\u0061` == `a` - // assert `\U00000061` == `a` + assert `\x61` == `a` + assert `\u0061` == `a` + assert `\U00000061` == `a` - // will not work until PR is accepted - // assert `\141` == `a` - // assert `\xe2\x98\x85` == `★` - // assert `\342\230\205` == `★` + assert `\141` == `a` + assert `\xe2\x98\x85` == `★` + assert `\342\230\205` == `★` // the following lines test the scanner module // even before it is compiled into the v executable