When nesting cells multiple levels, the child CellName was not correct. For example, if you had "grandparent-cell" and "grandparent-cell/parent-cell/child-cell", the result of to_child would be "grandparent-cell/grandparent-cell". This fixes that so that we get "grandparent-cell/parent-cell".
I also added a make command that uses cargo-watch to make developing with tests more convenient. Example usage...
make auraed-test-watch name=cells::cell_service::cells::cell_name::tests::test_to_child
Then every time cargo-watch detects changes to the source files, it will rerun that specific test automatically. To install cargo-watch run cargo install cargo-watch.
When nesting cells multiple levels, the child
CellName
was not correct. For example, if you had "grandparent-cell" and "grandparent-cell/parent-cell/child-cell", the result ofto_child
would be "grandparent-cell/grandparent-cell". This fixes that so that we get "grandparent-cell/parent-cell".I also added a make command that uses cargo-watch to make developing with tests more convenient. Example usage...
Then every time cargo-watch detects changes to the source files, it will rerun that specific test automatically. To install cargo-watch run
cargo install cargo-watch
.