fmt/test
Jonathan Gopel b3a4f28ad1
Fix implicit signedness conversion warning (#1963)
Problem:
- On Apple clang 11.0.3 (clang-1103.0.32.62), pedantic mode compilation
  generates the following error:

    test/std-format-test.cc:114:22: error: implicit conversion changes
          signedness: 'int' to 'size_t' (aka 'unsigned long')
          [-Werror,-Wsign-conversion]
        width_arg_id = c - '0';
                     ~ ~~^~~~~

Solution:
- Use a `to_unsigned` to make the conversion explicit. This is
  guaranteed to be safe due to the check before the ASCII-to-int
  conversion.
2020-10-29 06:26:18 -07:00
..
add-subdirectory-test Bump tested CMake version to 3.18 2020-07-19 08:50:34 -07:00
compile-error-test Bump tested CMake version to 3.18 2020-07-19 08:50:34 -07:00
cuda-test Making CUDA test work with CMAKE_MSVC_RUNTIME_LIBRARY 2019-09-25 06:46:11 -07:00
find-package-test Bump tested CMake version to 3.18 2020-07-19 08:50:34 -07:00
fuzzing Fix float fuzzer 2020-10-16 07:35:53 -07:00
gmock Add more compilers to CI and increase FMT_PEDANTIC warning levels (#736) 2018-06-06 15:57:59 +02:00
gtest Fix error on MinGW 2017-03-09 06:09:43 -08:00
assert-test.cc Explain why assert-test is a separate test 2020-10-11 10:13:42 -07:00
chrono-test.cc Add formatters for chrono::time_point<system_clock> (#1837) 2020-08-28 07:41:38 -07:00
CMakeLists.txt Remove old test 2020-10-11 10:13:42 -07:00
color-test.cc Fix coding conventions 2020-09-06 09:26:32 -07:00
compile-test.cc Cleanup 2020-10-11 10:13:42 -07:00
core-test.cc Make classes derived from buffer<T> final to silence the virtual destructor warning. (#1937) 2020-10-15 17:41:56 -07:00
format Reduce symbol sizes and simplify iterator use 2020-07-09 08:51:43 -07:00
format-impl-test.cc Make GetCachedPower test more precise 2020-10-04 08:00:47 -07:00
format-test.cc Allocator::max_size support in basic_memory_buffer (#1960) 2020-10-29 06:17:00 -07:00
gmock-gtest-all.cc Consistently namespace qualify size_t 2020-05-07 15:59:46 -07:00
gtest-extra-test.cc Consistently namespace qualify size_t 2020-05-07 15:59:46 -07:00
gtest-extra.cc Consistently namespace qualify size_t 2020-05-07 15:59:46 -07:00
gtest-extra.h Add color format_to overloads 2020-09-06 08:24:15 -07:00
header-only-test2.cc Add a lightweight header for the core API 2017-12-06 07:42:42 -08:00
header-only-test.cc Add a lightweight header for the core API 2017-12-06 07:42:42 -08:00
locale-test.cc Fix handling of thousand separator (#1927) 2020-10-10 07:23:36 -07:00
mock-allocator.h Consistently namespace qualify size_t 2020-05-07 15:59:46 -07:00
os-test.cc Fix move constructor (#1844) 2020-09-01 08:48:56 -07:00
ostream-test.cc Make classes derived from buffer<T> final to silence the virtual destructor warning. (#1937) 2020-10-15 17:41:56 -07:00
posix-mock-test.cc internal -> detail (#1538) 2020-05-10 07:34:30 -07:00
posix-mock.h Fix posix-mock-test 2020-04-01 08:42:14 -07:00
printf-test.cc fix typo which caused the loss of the counting information when using a printf context with a truncating_iterator 2020-06-05 07:37:54 -07:00
ranges-test.cc Range support 2020-10-28 05:35:37 -07:00
scan-test.cc internal -> detail (#1538) 2020-05-10 07:34:30 -07:00
scan.h Optimize format string parsing 2020-06-06 08:15:33 -07:00
std-format-test.cc Fix implicit signedness conversion warning (#1963) 2020-10-29 06:26:18 -07:00
test-assert.h Consistently namespace qualify size_t 2020-05-07 15:59:46 -07:00
test-main.cc Consistently namespace qualify size_t 2020-05-07 15:59:46 -07:00
util.cc Consistently namespace qualify size_t 2020-05-07 15:59:46 -07:00
util.h Consistently namespace qualify size_t 2020-05-07 15:59:46 -07:00