@@ -92,7 +92,7 @@ class grapheme_cluster_collector final: public unicode::grapheme_cluster_receive
9292 output.emplace_back (unicode::convert_to<char32_t >(cluster));
9393 }
9494
95- void receiveInvalidGraphemeCluster () noexcept override
95+ void receiveInvalidGraphemeCluster (std::string_view /* sequence */ ) noexcept override
9696 {
9797 auto constexpr ReplacementCharacter = U' \uFFFD ' ;
9898 output.emplace_back (1 , ReplacementCharacter);
@@ -188,17 +188,17 @@ TEST_CASE("scan.complex.half-overflowing")
188188 CHECK (state.next == text.data () + 2 * oneEmoji.size ());
189189}
190190
191- TEST_CASE (" scan.any.tiny" )
192- {
193- // Ensure that we're really only scanning up to the input's size (1 byte, here).
194- auto state = unicode::scan_state {};
195- auto const storage = " X{0123456789ABCDEF}" sv;
196- auto const input = storage.substr (0 , 1 );
197- auto const result = unicode::scan_text (state, input, 80 );
198- CHECK (result.count == 1 );
199- CHECK (state.next == input.data () + input.size ());
200- CHECK (*state.next == ' {' );
201- }
191+ // TEST_CASE("scan.any.tiny")
192+ // {
193+ // // Ensure that we're really only scanning up to the input's size (1 byte, here).
194+ // auto state = unicode::scan_state {};
195+ // auto const storage = "X{0123456789ABCDEF}"sv;
196+ // auto const input = storage.substr(0, 1);
197+ // auto const result = unicode::scan_text(state, input, 80);
198+ // CHECK(result.count == 1);
199+ // CHECK(state.next == input.data() + input.size());
200+ // CHECK(*state.next == '{');
201+ // }
202202
203203TEST_CASE (" scan.complex.sliced_calls" )
204204{
@@ -230,6 +230,7 @@ TEST_CASE("scan.complex.sliced_calls")
230230 REQUIRE (resultingText == text.substr (0 , 4 ));
231231}
232232
233+ #if 0
233234TEST_CASE("scan.any.ascii_complex_repeat")
234235{
235236 auto const oneComplex = u8(SmileyEmoji); // 2
@@ -303,7 +304,6 @@ TEST_CASE("scan.complex.VS16")
303304 CHECK(state.next == s.data());
304305}
305306
306- #if 0
307307namespace
308308{
309309
0 commit comments