diff options
-rw-r--r-- | test/controls/control_list.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/test/controls/control_list.cpp b/test/controls/control_list.cpp index b5a49dc1..2b321ddd 100644 --- a/test/controls/control_list.cpp +++ b/test/controls/control_list.cpp @@ -108,9 +108,10 @@ protected: list.set(controls::Brightness, 0.0f); list.set(controls::Contrast, 1.5f); - if (!list.contains(controls::Contrast) || + if (!list.contains(controls::Brightness) || !list.contains(controls::Contrast)) { - cout << "List should contain Contrast control" << endl; + cout << "List should contain Brightness and Contrast controls" + << endl; return TestFail; } |