MCPcopy Create free account
hub / github.com/GraphiteEditor/Graphite / test_unsupported_attribute

Function test_unsupported_attribute

node-graph/node-macro/src/parsing.rs:1590–1598  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1588 #[test]
1589 #[should_panic(expected = "Unsupported attribute in `node`")]
1590 fn test_unsupported_attribute() {
1591 let attr = quote!(unsupported("Value"));
1592 let input = quote!(
1593 fn test_node(input: i32) -> i32 {
1594 input
1595 }
1596 );
1597 parse_node_fn(attr, input).unwrap();
1598 }
1599
1600 #[test]
1601 fn test_invalid_implementation_syntax() {

Callers

nothing calls this directly

Calls 1

parse_node_fnFunction · 0.85

Tested by

no test coverage detected