MCPcopy 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_upFunction · 0.50
char_allMethod · 0.50

Calls 2

changedMethod · 0.80
as_refMethod · 0.45

Tested by

no test coverage detected