Commit Graph

3 Commits

Author SHA1 Message Date
Aire-One 53a880454f fix(w.widget): signal typo and unit test
This is a combination of 2 commits.
* fix(w.widget): emit signal typo
* add(w.widget.base_spec): Unit test for setters signals emittion
2021-06-26 17:26:21 +02:00
Uli Schlachter 923d0b8767 Add some unit tests for errors in :setup()
This adds a test that checks that :setup{ false } filters out the false, just
like it already filters out nil values. Then, this also adds a test that checks
that properties (:setup{ foo = false }) are not filtered out, because the first
version of me check did that accidentally.

Signed-off-by: Uli Schlachter <psychon@znc.in>
2016-02-28 11:09:21 +01:00
Uli Schlachter 9900cdacd6 Add a unit test that I have laying around
Weird, no idea why this isn't in Git and where it should have been committed...

Signed-off-by: Uli Schlachter <psychon@znc.in>
2016-02-28 10:43:48 +01:00