protospec-build 0.3.0

One binary format language to rule them all, One binary format language to find them, One binary format language to bring them all and in the darkness bind them.
Documentation
use crate::*;

#[test]
fn test_ffi_type_missing_type() {
    parse(
        r#"
    import_ffi test as;
    "#,
    )
    .err()
    .unwrap();
}

#[test]
fn test_ffi_type_invalid_type() {
    parse(
        r#"
    import_ffi test as test;
    "#,
    )
    .err()
    .unwrap();
}

#[test]
fn test_ffi_type_missing_as() {
    parse(
        r#"
    import_ffi test type;
    "#,
    )
    .err()
    .unwrap();
}

#[test]
fn test_ffi_type_missing_name() {
    parse(
        r#"
    import_ffi as transform;
    "#,
    )
    .err()
    .unwrap();
}