From 21babfa2d0b692e16ac676c341a9cacda303c510 Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Wed, 19 Jun 2019 19:13:00 +0200 Subject: [PATCH] Test a couple more cases in wxControl label unit test Check that double ampersand also works correctly. --- tests/controls/label.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tests/controls/label.cpp b/tests/controls/label.cpp index 1b8f744cd8..bb8cf168b8 100644 --- a/tests/controls/label.cpp +++ b/tests/controls/label.cpp @@ -43,6 +43,9 @@ void DoTestLabel(wxControl* c) "label with &mnemonic", "label with some markup", "label with some markup and &mnemonic", + "label with an && (ampersand)", + "label with an && (&ersand)", + "", // empty label should work too }; for ( unsigned int s = 0; s < WXSIZEOF(testLabelArray); s++ )