MCPcopy Create free account
hub / github.com/bytecodealliance/wasmtime / parse_multiline_works

Function parse_multiline_works

cranelift/srcgen/src/lib.rs:459–464  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

457
458 #[test]
459 fn parse_multiline_works() {
460 let input = "\n hello\n world\n";
461 let expected = vec!["hello", "world"];
462 let output = parse_multiline(input);
463 assert_eq!(output, expected);
464 }
465
466 #[test]
467 fn formatter_basic_example_works() {

Callers

nothing calls this directly

Calls 1

parse_multilineFunction · 0.85

Tested by

no test coverage detected