MCPcopy Create free account
hub / github.com/dev-formata-io/stof / value

Function value

src/parser/string.rs:113–117  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

111
112 #[test]
113 fn value() {
114 assert_eq!(string(r#""Hello, \"CJ\"!""#).unwrap().1, "Hello, \"CJ\"!".into());
115 assert_eq!(string(r#"'Hello, \'CJ\'!'"#).unwrap().1, "Hello, 'CJ'!".into());
116 assert_eq!(string("r#\"Hello, \"CJ\"!\"#").unwrap().1, "Hello, \"CJ\"!".into());
117 }
118}

Callers 2

double_stringFunction · 0.70
single_stringFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected