@@ -158,8 +158,8 @@ auto test_sync_wait_receiver() -> void {
158158 } catch (const error& e) {
159159 ASSERT (e.value == 17 );
160160 } catch (...) {
161- ASSERT ( nullptr ==
162- " unexpected exception type" ); // NOLINT(cert-dcl03-c,hicpp-static-assert,misc-static-assert)
161+ // NOLINTNEXTLINE(cert-dcl03-c,hicpp-static-assert,misc-static-assert)
162+ ASSERT ( nullptr == " unexpected exception type" );
163163 }
164164 }
165165 {
@@ -175,8 +175,8 @@ auto test_sync_wait_receiver() -> void {
175175 } catch (const error& e) {
176176 ASSERT (e.value == 17 );
177177 } catch (...) {
178- ASSERT ( nullptr ==
179- " unexpected exception type" ); // NOLINT(cert-dcl03-c,hicpp-static-assert,misc-static-assert)
178+ // NOLINTNEXTLINE(cert-dcl03-c,hicpp-static-assert,misc-static-assert)
179+ ASSERT ( nullptr == " unexpected exception type" );
180180 }
181181 }
182182 {
@@ -209,18 +209,18 @@ auto test_sync_wait() -> void {
209209 } catch (const error& e) {
210210 ASSERT (e.value == 17 );
211211 } catch (...) {
212- ASSERT (
213- nullptr ==
214- " no exception expected from sync_wait(just(...) " ); // NOLINT (cert-dcl03-c,hicpp-static-assert,misc-static-assert)
212+ // NOLINTBEGIN(cert-dcl03-c,hicpp-static-assert,misc-static-assert)
213+ ASSERT ( nullptr == " no exception expected from sync_wait(just(...) " );
214+ // NOLINTEND (cert-dcl03-c,hicpp-static-assert,misc-static-assert)
215215 }
216216
217217 try {
218218 auto value{test_std::sync_wait (send_stopped ())};
219219 ASSERT (not value);
220220 } catch (...) {
221- ASSERT (
222- nullptr ==
223- " no exception expected from sync_wait(just(...) " ); // NOLINT (cert-dcl03-c,hicpp-static-assert,misc-static-assert)
221+ // NOLINTBEGIN(cert-dcl03-c,hicpp-static-assert,misc-static-assert)
222+ ASSERT ( nullptr == " no exception expected from sync_wait(just(...) " );
223+ // NOLINTEND (cert-dcl03-c,hicpp-static-assert,misc-static-assert)
224224 }
225225}
226226} // namespace
0 commit comments