Add ReceiverTest.

And fix a small bug with the Receiver not eating all the input.
This commit is contained in:
ArthurSonzogni
2020-03-27 00:22:04 +01:00
committed by Arthur Sonzogni
parent e8ed0fbc6d
commit 6e7b4526a0
3 changed files with 89 additions and 8 deletions

View File

@@ -158,6 +158,7 @@ if (FTXUI_BUILD_TESTS AND GTEST_FOUND AND THREADS_FOUND)
src/ftxui/component/toggle_test.cpp
src/ftxui/component/radiobox_test.cpp
src/ftxui/component/container_test.cpp
src/ftxui/component/receiver_test.cpp
src/ftxui/dom/gauge_test.cpp
src/ftxui/dom/hbox_test.cpp
src/ftxui/dom/text_test.cpp