• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# Expansion tests
2
3Similar to ui tests, but instead of checking the compiler output, this checks
4the code generated by macros.
5
6See [examples](../../examples/README.md) for descriptions of what the generated
7code does, and why it needs to be generated.
8
9To run this test, run the following command:
10
11```sh
12cargo +nightly test --test expandtest
13```
14
15Locally, this test updates the files in the `expand` directory if there are
16changes to the generated code. If there are any changes to the files in the
17`expand` directory after running the test, please commit them.
18