mirror of
https://github.com/keymanapp/keyman.git
synced 2026-08-19 23:07:42 +00:00
feat(developer):kmc-convert fix more typos in tests
This commit is contained in:
parent
c11e6f8b15
commit
9dcd90c634
2 changed files with 2 additions and 2 deletions
|
|
@ -1673,7 +1673,7 @@ export class KmnFileWriter {
|
|||
|
||||
// add a warning message
|
||||
if (msg !== "") {
|
||||
msg = msg + msg_control + msg_entity;
|
||||
msg = msg + "; " + msg_control + msg_entity;
|
||||
}
|
||||
if ((msg === "") && (msg_entity !== "" || msg_control !== "")) {
|
||||
msg = "c WARNING: " + msg_entity + msg_control;
|
||||
|
|
|
|||
|
|
@ -137,7 +137,7 @@ describe('KmnFileWriter', function () {
|
|||
["", "U+0006", "Msg; Use of a control character "],
|
||||
].forEach(function (values) {
|
||||
it(('should convert "' + values[0] + '"').padEnd(25, " ") + 'to "' + values[1] + '"', async function () {
|
||||
const result = sutW.writeCharacterOrUnicode(values[0] as string, "Msg; ");
|
||||
const result = sutW.writeCharacterOrUnicode(values[0] as string, "Msg");
|
||||
assert.isNotNull(result);
|
||||
assert.equal(result.character, values[1]);
|
||||
assert.equal(result.message, values[2]);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue