Issue #2550965 by joelpittet, kgoel, stefan.r, josephdpurcell, akalata: Remove SafeMarkup::set() in ValidationTest::assertErrorMessages()