@@ -25,7 +25,7 @@ BOOST_AUTO_TEST_SUITE(error_tests)
2525
2626// general
2727
28- BOOST_AUTO_TEST_CASE(error_t__code__success__false_exected_message )
28+ BOOST_AUTO_TEST_CASE(error_t__code__success__false_expected_message )
2929{
3030 constexpr auto value = error::success;
3131 const auto ec = code (value);
@@ -36,7 +36,7 @@ BOOST_AUTO_TEST_CASE(error_t__code__success__false_exected_message)
3636
3737// database
3838
39- BOOST_AUTO_TEST_CASE (error_t__code__store_uninitialized__true_exected_message )
39+ BOOST_AUTO_TEST_CASE (error_t__code__store_uninitialized__true_expected_message )
4040{
4141 constexpr auto value = error::store_uninitialized;
4242 const auto ec = code (value);
@@ -45,7 +45,7 @@ BOOST_AUTO_TEST_CASE(error_t__code__store_uninitialized__true_exected_message)
4545 BOOST_REQUIRE_EQUAL (ec.message (), " store not initialized" );
4646}
4747
48- BOOST_AUTO_TEST_CASE (error_t__code__store_reload__true_exected_message )
48+ BOOST_AUTO_TEST_CASE (error_t__code__store_reload__true_expected_message )
4949{
5050 constexpr auto value = error::store_reload;
5151 const auto ec = code (value);
@@ -54,7 +54,7 @@ BOOST_AUTO_TEST_CASE(error_t__code__store_reload__true_exected_message)
5454 BOOST_REQUIRE_EQUAL (ec.message (), " store reload" );
5555}
5656
57- BOOST_AUTO_TEST_CASE (error_t__code__store_prune__true_exected_message )
57+ BOOST_AUTO_TEST_CASE (error_t__code__store_prune__true_expected_message )
5858{
5959 constexpr auto value = error::store_prune;
6060 const auto ec = code (value);
@@ -63,7 +63,7 @@ BOOST_AUTO_TEST_CASE(error_t__code__store_prune__true_exected_message)
6363 BOOST_REQUIRE_EQUAL (ec.message (), " store prune" );
6464}
6565
66- BOOST_AUTO_TEST_CASE (error_t__code__store_snapshot__true_exected_message )
66+ BOOST_AUTO_TEST_CASE (error_t__code__store_snapshot__true_expected_message )
6767{
6868 constexpr auto value = error::store_snapshot;
6969 const auto ec = code (value);
@@ -74,7 +74,7 @@ BOOST_AUTO_TEST_CASE(error_t__code__store_snapshot__true_exected_message)
7474
7575// network
7676
77- BOOST_AUTO_TEST_CASE (error_t__code__slow_channel__true_exected_message )
77+ BOOST_AUTO_TEST_CASE (error_t__code__slow_channel__true_expected_message )
7878{
7979 constexpr auto value = error::slow_channel;
8080 const auto ec = code (value);
@@ -83,7 +83,7 @@ BOOST_AUTO_TEST_CASE(error_t__code__slow_channel__true_exected_message)
8383 BOOST_REQUIRE_EQUAL (ec.message (), " slow channel" );
8484}
8585
86- BOOST_AUTO_TEST_CASE (error_t__code__stalled_channel__true_exected_message )
86+ BOOST_AUTO_TEST_CASE (error_t__code__stalled_channel__true_expected_message )
8787{
8888 constexpr auto value = error::stalled_channel;
8989 const auto ec = code (value);
@@ -92,7 +92,7 @@ BOOST_AUTO_TEST_CASE(error_t__code__stalled_channel__true_exected_message)
9292 BOOST_REQUIRE_EQUAL (ec.message (), " stalled channel" );
9393}
9494
95- BOOST_AUTO_TEST_CASE (error_t__code__exhausted_channel__true_exected_message )
95+ BOOST_AUTO_TEST_CASE (error_t__code__exhausted_channel__true_expected_message )
9696{
9797 constexpr auto value = error::exhausted_channel;
9898 const auto ec = code (value);
@@ -101,7 +101,7 @@ BOOST_AUTO_TEST_CASE(error_t__code__exhausted_channel__true_exected_message)
101101 BOOST_REQUIRE_EQUAL (ec.message (), " exhausted channel" );
102102}
103103
104- BOOST_AUTO_TEST_CASE (error_t__code__sacrificed_channel__true_exected_message )
104+ BOOST_AUTO_TEST_CASE (error_t__code__sacrificed_channel__true_expected_message )
105105{
106106 constexpr auto value = error::sacrificed_channel;
107107 const auto ec = code (value);
@@ -110,7 +110,7 @@ BOOST_AUTO_TEST_CASE(error_t__code__sacrificed_channel__true_exected_message)
110110 BOOST_REQUIRE_EQUAL (ec.message (), " sacrificed channel" );
111111}
112112
113- BOOST_AUTO_TEST_CASE (error_t__code__suspended_channel__true_exected_message )
113+ BOOST_AUTO_TEST_CASE (error_t__code__suspended_channel__true_expected_message )
114114{
115115 constexpr auto value = error::suspended_channel;
116116 const auto ec = code (value);
@@ -119,7 +119,7 @@ BOOST_AUTO_TEST_CASE(error_t__code__suspended_channel__true_exected_message)
119119 BOOST_REQUIRE_EQUAL (ec.message (), " sacrificed channel" );
120120}
121121
122- BOOST_AUTO_TEST_CASE (error_t__code__suspended_service__true_exected_message )
122+ BOOST_AUTO_TEST_CASE (error_t__code__suspended_service__true_expected_message )
123123{
124124 constexpr auto value = error::suspended_service;
125125 const auto ec = code (value);
@@ -130,7 +130,7 @@ BOOST_AUTO_TEST_CASE(error_t__code__suspended_service__true_exected_message)
130130
131131// blockchain
132132
133- BOOST_AUTO_TEST_CASE (error_t__code__orphan_block__true_exected_message )
133+ BOOST_AUTO_TEST_CASE (error_t__code__orphan_block__true_expected_message )
134134{
135135 constexpr auto value = error::orphan_block;
136136 const auto ec = code (value);
@@ -139,7 +139,7 @@ BOOST_AUTO_TEST_CASE(error_t__code__orphan_block__true_exected_message)
139139 BOOST_REQUIRE_EQUAL (ec.message (), " orphan block" );
140140}
141141
142- BOOST_AUTO_TEST_CASE (error_t__code__orphan_header__true_exected_message )
142+ BOOST_AUTO_TEST_CASE (error_t__code__orphan_header__true_expected_message )
143143{
144144 constexpr auto value = error::orphan_header;
145145 const auto ec = code (value);
@@ -148,7 +148,7 @@ BOOST_AUTO_TEST_CASE(error_t__code__orphan_header__true_exected_message)
148148 BOOST_REQUIRE_EQUAL (ec.message (), " orphan header" );
149149}
150150
151- BOOST_AUTO_TEST_CASE (error_t__code__duplicate_block__true_exected_message )
151+ BOOST_AUTO_TEST_CASE (error_t__code__duplicate_block__true_expected_message )
152152{
153153 constexpr auto value = error::duplicate_block;
154154 const auto ec = code (value);
@@ -157,7 +157,7 @@ BOOST_AUTO_TEST_CASE(error_t__code__duplicate_block__true_exected_message)
157157 BOOST_REQUIRE_EQUAL (ec.message (), " duplicate block" );
158158}
159159
160- BOOST_AUTO_TEST_CASE (error_t__code__duplicate_header__true_exected_message )
160+ BOOST_AUTO_TEST_CASE (error_t__code__duplicate_header__true_expected_message )
161161{
162162 constexpr auto value = error::duplicate_header;
163163 const auto ec = code (value);
@@ -168,7 +168,7 @@ BOOST_AUTO_TEST_CASE(error_t__code__duplicate_header__true_exected_message)
168168
169169// faults
170170
171- BOOST_AUTO_TEST_CASE (error_t__code__protocol1__true_exected_message )
171+ BOOST_AUTO_TEST_CASE (error_t__code__protocol1__true_expected_message )
172172{
173173 constexpr auto value = error::protocol1;
174174 const auto ec = code (value);
@@ -177,7 +177,7 @@ BOOST_AUTO_TEST_CASE(error_t__code__protocol1__true_exected_message)
177177 BOOST_REQUIRE_EQUAL (ec.message (), " protocol1" );
178178}
179179
180- BOOST_AUTO_TEST_CASE (error_t__code__protocol2__true_exected_message )
180+ BOOST_AUTO_TEST_CASE (error_t__code__protocol2__true_expected_message )
181181{
182182 constexpr auto value = error::protocol2;
183183 const auto ec = code (value);
@@ -186,7 +186,7 @@ BOOST_AUTO_TEST_CASE(error_t__code__protocol2__true_exected_message)
186186 BOOST_REQUIRE_EQUAL (ec.message (), " protocol2" );
187187}
188188
189- BOOST_AUTO_TEST_CASE (error_t__code__header1__true_exected_message )
189+ BOOST_AUTO_TEST_CASE (error_t__code__header1__true_expected_message )
190190{
191191 constexpr auto value = error::header1;
192192 const auto ec = code (value);
@@ -196,7 +196,7 @@ BOOST_AUTO_TEST_CASE(error_t__code__header1__true_exected_message)
196196}
197197
198198// TODO: organize2-organize15
199- BOOST_AUTO_TEST_CASE (error_t__code__organize1__true_exected_message )
199+ BOOST_AUTO_TEST_CASE (error_t__code__organize1__true_expected_message )
200200{
201201 constexpr auto value = error::organize1;
202202 const auto ec = code (value);
@@ -206,7 +206,7 @@ BOOST_AUTO_TEST_CASE(error_t__code__organize1__true_exected_message)
206206}
207207
208208// TODO: validate2-validate6
209- BOOST_AUTO_TEST_CASE (error_t__code__validate1__true_exected_message )
209+ BOOST_AUTO_TEST_CASE (error_t__code__validate1__true_expected_message )
210210{
211211 constexpr auto value = error::validate1;
212212 const auto ec = code (value);
@@ -216,7 +216,7 @@ BOOST_AUTO_TEST_CASE(error_t__code__validate1__true_exected_message)
216216}
217217
218218// TODO: confirm2-confirm17
219- BOOST_AUTO_TEST_CASE (error_t__code__confirm1__true_exected_message )
219+ BOOST_AUTO_TEST_CASE (error_t__code__confirm1__true_expected_message )
220220{
221221 constexpr auto value = error::confirm1;
222222 const auto ec = code (value);
0 commit comments