Read-only mirrors. Development, issues and pull requests are on GitHub.

summaryrefslogtreecommitdiffhomepage
path: root/examples/120-Bdd-ScenarioGivenWhenThen.cpp
diff options
context:
space:
mode:
authorMartin Hořeňovský2026-09-06 23:23:23 +0200
committerMartin Hořeňovský2026-09-11 11:15:58 +0200
commit6a5075bf73273ecb83fca61efdfde2fa1a2690bf (patch)
tree6b5f8e4a6c02d653caf57b0059bc25d2d5306d2a /examples/120-Bdd-ScenarioGivenWhenThen.cpp
parent15db9be53067d66ecd11a7ddd3097d412047130a (diff)
downloadcatch3-6a5075bf73273ecb83fca61efdfde2fa1a2690bf.tar.gz
Use locale-independent toLower
We generally do not even try to pretend to support more than plain ASCII, because doing unicode in old C++ standards is a pain and a half. For `toLower`, we used to wrap `std::tolower` with multiple casts to avoid UB, but calling into it is relatively slow, and it tries to handle different locales, which could cause unexpected results. In addition, the new implementation is significantly faster, which helps speed up the initial process bring up (as comparing tags, and thus test cases is now faster).
Diffstat (limited to 'examples/120-Bdd-ScenarioGivenWhenThen.cpp')
0 files changed, 0 insertions, 0 deletions