codama-nodes 0.10.0

Node specifications and helpers for the Codama standard
Documentation
1
2
3
4
5
6
7
8
9
10
#[cfg(test)]
mod tests {
    use crate::{HasKind, LinkNode, ProgramLinkNode};

    #[test]
    fn kind() {
        let node: LinkNode = ProgramLinkNode::new("myProgram").into();
        assert_eq!(node.kind(), "programLinkNode");
    }
}