16 lines
393 B
Markdown
16 lines
393 B
Markdown
## [trybuild](https://docs.rs/trybuild/latest/trybuild/) tests
|
|
|
|
Set of tests to exercise various macro expansion errors.
|
|
|
|
### Notes on adding a new test
|
|
|
|
- Make sure to include the new test in [build_error_tests/mod.rs](./build_error_tests/mod.rs) so it gets included as
|
|
part of the crate for formatting purposes.
|
|
|
|
### Running the tests
|
|
|
|
> yarn test:macro
|
|
|
|
or
|
|
|
|
> cargo test -p napi-examples
|