diff options
author | erw7 <erw7.github@gmail.com> | 2020-03-12 12:16:10 +0900 |
---|---|---|
committer | James McCoy <jamessan@jamessan.com> | 2020-11-20 09:26:17 -0500 |
commit | 6c1e1fe772f99ab655402e92f14b782867b35eec (patch) | |
tree | 224f57b4116719a606ab6c089821a9b196d7764c /src/nvim/tui/input.h | |
parent | 8923a3df83aebb1e779240c461a5bcc46c62d74e (diff) | |
download | rneovim-6c1e1fe772f99ab655402e92f14b782867b35eec.tar.gz rneovim-6c1e1fe772f99ab655402e92f14b782867b35eec.tar.bz2 rneovim-6c1e1fe772f99ab655402e92f14b782867b35eec.zip |
test,unit: Change test according to change of bg color response processing
Adjust the test for handle_background_color() according to
bd0275182b1c1b14c43dc4fc7e9f9da05071e56c.
Diffstat (limited to 'src/nvim/tui/input.h')
-rw-r--r-- | src/nvim/tui/input.h | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/src/nvim/tui/input.h b/src/nvim/tui/input.h index b30546c815..ed76455189 100644 --- a/src/nvim/tui/input.h +++ b/src/nvim/tui/input.h @@ -32,7 +32,13 @@ typedef struct term_input { #endif #ifdef UNIT_TESTING -bool ut_handle_background_color(TermInput *input); +typedef enum { + kIncomplete = -1, + kNotApplicable = 0, + kComplete = 1, +} HandleState; + +HandleState ut_handle_background_color(TermInput *input); #endif #endif // NVIM_TUI_INPUT_H |