Add regression test for issue 31.

See https://github.com/ArthurSonzogni/FTXUI/issues/31

Due to a bug fixed by:
https://github.com/ArthurSonzogni/FTXUI/pull/32
the character 'P' was not correctly converted into event.
This commit is contained in:
ArthurSonzogni
2020-07-23 20:41:25 +02:00
committed by Arthur Sonzogni
parent d1d7a73b2d
commit 8f87fc96ac
2 changed files with 52 additions and 2 deletions

View File

@@ -174,10 +174,11 @@ if (FTXUI_BUILD_TESTS AND ${CMAKE_VERSION} VERSION_GREATER "3.11.4")
endif()
add_executable(tests
src/ftxui/component/toggle_test.cpp
src/ftxui/component/radiobox_test.cpp
src/ftxui/component/container_test.cpp
src/ftxui/component/event_test.cpp
src/ftxui/component/radiobox_test.cpp
src/ftxui/component/receiver_test.cpp
src/ftxui/component/toggle_test.cpp
src/ftxui/dom/gauge_test.cpp
src/ftxui/dom/hbox_test.cpp
src/ftxui/dom/text_test.cpp