bindings: cxx: tests: fix the test case for chip::unwatch_line_info()
authorBartosz Golaszewski <bartosz.golaszewski@linaro.org>
Thu, 16 Mar 2023 10:59:13 +0000 (11:59 +0100)
committerBartosz Golaszewski <bartosz.golaszewski@linaro.org>
Thu, 16 Mar 2023 10:59:13 +0000 (11:59 +0100)
commita81d25572593f1b5990ba3599dc4914655fb5728
tree8ccef4e18b0dd0b519468c37a365cbe8acf68279
parentf2245fa32c1bccd171e53c579bd272a6d2c01c61
bindings: cxx: tests: fix the test case for chip::unwatch_line_info()

We need to actually trigger a line-info event before making sure the watch
has been disabled.

Fixes: f2245fa32c1b ("bindings: cxx: tests: add a test case for chip::unwatch_line_info()")
Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
bindings/cxx/tests/tests-info-event.cpp