Test a couple more cases in wxControl label unit test

Check that double ampersand also works correctly.
This commit is contained in:
Vadim Zeitlin
2019-06-19 19:13:00 +02:00
parent 0d35c3f36a
commit 21babfa2d0

View File

@@ -43,6 +43,9 @@ void DoTestLabel(wxControl* c)
"label with &mnemonic", "label with &mnemonic",
"label with <span foreground='blue'>some</span> <b>markup</b>", "label with <span foreground='blue'>some</span> <b>markup</b>",
"label with <span foreground='blue'>some</span> <b>markup</b> and &mnemonic", "label with <span foreground='blue'>some</span> <b>markup</b> and &mnemonic",
"label with an && (ampersand)",
"label with an && (&ampersand)",
"", // empty label should work too
}; };
for ( unsigned int s = 0; s < WXSIZEOF(testLabelArray); s++ ) for ( unsigned int s = 0; s < WXSIZEOF(testLabelArray); s++ )