We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 20e2190 commit 55a5eeaCopy full SHA for 55a5eea
src/librustc_lexer/src/tests.rs
@@ -7,7 +7,9 @@ mod tests {
7
expected: UnvalidatedRawStr,
8
validated: Result<ValidatedRawStr, LexRawStrError>,
9
) {
10
+ let s = &format!("r{}", s);
11
let mut cursor = Cursor::new(s);
12
+ cursor.bump();
13
let tok = cursor.raw_double_quoted_string(0);
14
assert_eq!(tok, expected);
15
assert_eq!(tok.validate(), validated);
0 commit comments