@@ -19,7 +19,7 @@ Y_UNIT_TEST_SUITE(AuthConfigValidation) {
19
19
std::vector<TString> error;
20
20
EValidationResult result = ValidateAuthConfig (authConfig, error);
21
21
UNIT_ASSERT_EQUAL (result, EValidationResult::Ok);
22
- UNIT_ASSERT_C (error.empty (), " Should not be errors " );
22
+ UNIT_ASSERT_C (error.empty (), error. front () );
23
23
}
24
24
25
25
Y_UNIT_TEST (CannotAcceptInvalidPasswordComplexity) {
@@ -51,7 +51,7 @@ Y_UNIT_TEST_SUITE(AuthConfigValidation) {
51
51
std::vector<TString> error;
52
52
EValidationResult result = ValidateAuthConfig (authConfig, error);
53
53
UNIT_ASSERT_EQUAL (result, EValidationResult::Ok);
54
- UNIT_ASSERT_C (error.empty (), " Should not be errors " );
54
+ UNIT_ASSERT_C (error.empty (), error. front () );
55
55
}
56
56
57
57
{
@@ -60,7 +60,7 @@ Y_UNIT_TEST_SUITE(AuthConfigValidation) {
60
60
std::vector<TString> error;
61
61
EValidationResult result = ValidateAuthConfig (authConfig, error);
62
62
UNIT_ASSERT_EQUAL (result, EValidationResult::Ok);
63
- UNIT_ASSERT_C (error.empty (), " Should not be errors " );
63
+ UNIT_ASSERT_C (error.empty (), error. front () );
64
64
}
65
65
66
66
{
@@ -69,7 +69,7 @@ Y_UNIT_TEST_SUITE(AuthConfigValidation) {
69
69
std::vector<TString> error;
70
70
EValidationResult result = ValidateAuthConfig (authConfig, error);
71
71
UNIT_ASSERT_EQUAL (result, EValidationResult::Ok);
72
- UNIT_ASSERT_C (error.empty (), " Should not be errors " );
72
+ UNIT_ASSERT_C (error.empty (), error. front () );
73
73
}
74
74
}
75
75
0 commit comments