implement Translator.translateBritish(string) method

This commit is contained in:
StevanFreeborn committed 2022-05-31 22:58:51 -05:00
1 parent a7985d7e4b
commit 8fcd23e684
2 files changed
+92 -2

No files matched your search

+2 -2
View File
@@ -111,7 +111,7 @@ suite('Unit Tests', () => {
const string = 'We watched the footie match for a while.';
const result = translator.translateBritish(string);
assert.equal(result, 'We watched <span class="highlight">soccer</span> match for a while.');
assert.equal(result, 'We watched the <span class="highlight">soccer</span> match for a while.');
done();
});
@@ -241,7 +241,7 @@ suite('Unit Tests', () => {
const string = 'We watched the footie match for a while.';
const result = translator.translateBritish(string);
assert.equal(result, 'We watched <span class="highlight">soccer</span> match for a while.');
assert.equal(result, 'We watched the <span class="highlight">soccer</span> match for a while.');
done();
});