diff options
author | ccalvarin <ccalvarin@google.com> | 2018-03-08 10:53:24 -0800 |
---|---|---|
committer | Copybara-Service <copybara-piper@google.com> | 2018-03-08 10:55:24 -0800 |
commit | 58acb7b85c6e06ac0142a8c8d53e4aa9000ccfd0 (patch) | |
tree | 226ea3dcbc56e2130df825c98a9a47fea63f5b54 /site/docs | |
parent | c7e31d3c68b86cfd1e148cebbeab3d3305a655f1 (diff) |
Add unit tests for rc parsing.
These provide some testing for the following cases:
- tokenization
- recognizing comments
- grouping of different lines by command
- import ordering
- import cycles
- bad imports
There's still room for more, in particular in the multi-command case, but this feels like a good start.
Also identified some surprising behaviors that should be fixed. Leaving them tested as documentation of their broken nature.
RELNOTES: None.
PiperOrigin-RevId: 188355929
Diffstat (limited to 'site/docs')
0 files changed, 0 insertions, 0 deletions