File tree Expand file tree Collapse file tree 3 files changed +10
-3
lines changed Expand file tree Collapse file tree 3 files changed +10
-3
lines changed Original file line number Diff line number Diff line change @@ -98,8 +98,8 @@ cc_test(
98
98
)
99
99
100
100
cc_test (
101
- name = "unicode_test " ,
102
- srcs = ["unicode_test .cpp" ],
101
+ name = "supported_chars_test " ,
102
+ srcs = ["supported_chars_test .cpp" ],
103
103
deps = [
104
104
"//:fast_float" ,
105
105
"@doctest//doctest" ,
Original file line number Diff line number Diff line change @@ -68,7 +68,7 @@ endfunction(fast_float_add_cpp_test)
68
68
69
69
fast_float_add_cpp_test (rcppfastfloat_test )
70
70
fast_float_add_cpp_test (wide_char_test )
71
- fast_float_add_cpp_test (unicode_test )
71
+ fast_float_add_cpp_test (supported_chars_test )
72
72
fast_float_add_cpp_test (example_test )
73
73
fast_float_add_cpp_test (example_comma_test )
74
74
fast_float_add_cpp_test (basictest )
Original file line number Diff line number Diff line change @@ -31,6 +31,13 @@ int main() {
31
31
return EXIT_FAILURE;
32
32
}
33
33
34
+ #ifdef __cpp_char8_t
35
+ if (!test<char8_t >(" 4.2" , 4.2 )) {
36
+ std::cout << " test failure for char8_t" << std::endl;
37
+ return EXIT_FAILURE;
38
+ }
39
+ #endif
40
+
34
41
if (!test<char16_t >(" 4.2" , 4.2 )) {
35
42
std::cout << " test failure for char16_t" << std::endl;
36
43
return EXIT_FAILURE;
You can’t perform that action at this time.
0 commit comments