chore(core): avoid emitting control chars into junit.xml

This commit is contained in:
Marc Durdin 2026-04-28 15:48:42 +02:00
parent 9853f29046
commit 63c2ed823f
2 changed files with 2 additions and 2 deletions

View file

@ -153,7 +153,7 @@ apply_action(
std::cout << "action: emit keystroke" << std::endl;
break;
case KM_CORE_IT_CAPSLOCK:
std::cout << "action: capsLock " << act.capsLock << std::endl;
std::cout << "action: capsLock " << std::to_string(act.capsLock) << std::endl;
test_source.set_caps_lock_on(act.capsLock);
break;
default:

View file

@ -112,7 +112,7 @@ apply_action(
break;
case KM_CORE_IT_BACK:
{
std::cout << " + back(" << act.backspace.expected_type << ")" << std::endl;
std::cout << " + back(" << std::to_string(act.backspace.expected_type) << ")" << std::endl;
// single char removed in context
km_core_usv ch = 0;