MCPcopy Create free account
hub / github.com/LaBatata101/sith-language-server / test_string

Function test_string

crates/sith_python_parser/src/lexer.rs:2150–2153  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

2148
2149 #[test]
2150 fn test_string() {
2151 let source = r#""double" 'single' 'can\'t' "\\\"" '\t\r\n' '\g' r'raw\'' '\420' '\200\0a'"#;
2152 assert_snapshot!(lex_source(source));
2153 }
2154
2155 fn string_continuation_with_eol(eol: &str) -> LexerOutput {
2156 let source = format!("\"abc\\{eol}def\"");

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected