antoyo / relm

Idiomatic, GTK+-based, GUI library, inspired by Elm, written in Rust
MIT License
2.41k stars 79 forks source link

improve error message on empty view macro #286

Closed euclio closed 3 years ago

euclio commented 3 years ago

Fixes #268.

This commit improves the error message emitted when an empty view! macro is provided. It also adds UI testing infrastructure to relm_derive, to make it easier to test future improvements to the macro. A new step for relm_derive tests is added to CI.

The existing unit tests in relm_derive do not compile, so they are removed.

euclio commented 3 years ago

Fixed.

antoyo commented 3 years ago

Thanks a lot! I'll merge this tomorrow (because I need to wait for the CI to pass).