File tree Expand file tree Collapse file tree 1 file changed +3
-14
lines changed Expand file tree Collapse file tree 1 file changed +3
-14
lines changed Original file line number Diff line number Diff line change @@ -124,24 +124,13 @@ class test_unused_config_modifications : public test_ucp_context {
124124 test_unused_config_modifications ()
125125 {
126126 ucp_config_modify (m_ucp_config, " QWERTY" , " QWERTY" );
127- }
128-
129- void init () override
130- {
127+ ucp_config_modify (m_ucp_config, " WARN_UNUSED_CONFIG_MODIFICATIONS" ,
128+ " n" );
131129 }
132130};
133131
134- UCS_TEST_P (test_unused_config_modifications, wrap_warning)
135- {
136- scoped_log_handler log_handler (wrap_warns_logger);
137- create_entity ();
138- EXPECT_EQ (m_warnings.size (), 2 );
139- }
140-
141- UCS_TEST_P (test_unused_config_modifications, hide_warning)
132+ UCS_TEST_P (test_unused_config_modifications, hidden_warning)
142133{
143- ucp_config_modify (m_ucp_config, " WARN_UNUSED_CONFIG_MODIFICATIONS" , " n" );
144- create_entity ();
145134}
146135
147136UCP_INSTANTIATE_TEST_CASE_TLS (test_unused_config_modifications, self, " self" )
You can’t perform that action at this time.
0 commit comments