Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/RustPython/RustPython
/ test
Function
test
crates/literal/src/escape.rs:458–460 ·
view source on GitHub ↗
(s: &str)
Source
from the content-addressed store, hash-verified
456
#[test]
457
fn changed() {
458
fn test(s: &str) -> bool {
459
UnicodeEscape::new_repr(s.as_ref()).changed()
460
}
461
assert!(!test(
"hello"
));
462
assert!(!test(
"'hello'"
));
463
assert!(!test(
"\"
hello\
""
));
Callers
2
search_up
Function · 0.50
char_all
Method · 0.50
Calls
2
changed
Method · 0.80
as_ref
Method · 0.45
Tested by
no test coverage detected