boostorg / locale

Boost.Locale
Boost Software License 1.0
32 stars 70 forks source link

Disable running example/collate and some reformatting #95

Closed Flamefire closed 2 years ago

Flamefire commented 2 years ago

That example reads from stdin causing timeouts in some envs.

Remove using namespace std; to differentiate between Boost.Locale and std and adjust related formatting.

codecov[bot] commented 2 years ago

Codecov Report

Merging #95 (a07e058) into develop (50105d8) will increase coverage by 0.98%. The diff coverage is 88.27%.

:exclamation: Current head a07e058 differs from pull request most recent head 75f3a98. Consider uploading reports for the commit 75f3a98 to get more accurate results

@@             Coverage Diff             @@
##           develop      #95      +/-   ##
===========================================
+ Coverage    79.92%   80.91%   +0.98%     
===========================================
  Files           76       75       -1     
  Lines         5944     5900      -44     
===========================================
+ Hits          4751     4774      +23     
+ Misses        1193     1126      -67     
Impacted Files Coverage Δ
include/boost/locale/generic_codecvt.hpp 97.14% <ø> (ø)
src/shared/date_time.cpp 67.94% <33.33%> (ø)
test/test_std_formatting.cpp 76.72% <50.00%> (+1.42%) :arrow_up:
test/test_posix_formatting.cpp 78.57% <55.00%> (+5.90%) :arrow_up:
test/test_posix_convert.cpp 75.60% <66.66%> (+12.34%) :arrow_up:
test/test_codepage.cpp 88.25% <89.39%> (+2.82%) :arrow_up:
test/test_message.cpp 96.53% <92.50%> (+0.99%) :arrow_up:
test/test_locale.hpp 95.55% <92.85%> (+11.18%) :arrow_up:
test/test_date_time.cpp 95.32% <95.83%> (+1.64%) :arrow_up:
test/test_codepage_converter.cpp 99.38% <99.21%> (+1.79%) :arrow_up:
... and 35 more

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update 50105d8...75f3a98. Read the comment docs.