diff options
author | Xisco Fauli <xiscofauli@libreoffice.org> | 2022-12-20 10:11:26 +0100 |
---|---|---|
committer | Xisco Fauli <xiscofauli@libreoffice.org> | 2022-12-20 12:56:52 +0000 |
commit | 4f09c5f925dbfc32829b2c6a81f43290b4d3512e (patch) | |
tree | 2e80d6aab57f387144daeae7843e0599fd475a2b /basic | |
parent | 1feb1aa08421f9d0934ab65ce94cf6054818c0f3 (diff) |
basic: remove tabs from test file
Introduced in c6dc676306d2e507bf57369d02dcaf2408d43eb0
"tdf#152520: basic_macros: Add unittest"
Change-Id: Ieef7177b3eb1c7c4ab1aaa11cc343ace3f26601f
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/144581
Tested-by: Jenkins
Reviewed-by: Xisco Fauli <xiscofauli@libreoffice.org>
Diffstat (limited to 'basic')
-rw-r--r-- | basic/qa/basic_coverage/test_transliteration.bas | 38 |
1 files changed, 19 insertions, 19 deletions
diff --git a/basic/qa/basic_coverage/test_transliteration.bas b/basic/qa/basic_coverage/test_transliteration.bas index 01a5705d0a0d..dd5f24fb4dae 100644 --- a/basic/qa/basic_coverage/test_transliteration.bas +++ b/basic/qa/basic_coverage/test_transliteration.bas @@ -16,35 +16,35 @@ End Function Sub verify_testTransliteration On Error GoTo errorHandler - Dim oTr As Object, s$, oLoc as new com.sun.star.lang.Locale + Dim oTr As Object, s$, oLoc as new com.sun.star.lang.Locale - With oLoc - .Country="US" - .Language="en" - .Variant="" - End With + With oLoc + .Country="US" + .Language="en" + .Variant="" + End With s="AB cd. eF. " - oTr = CreateUnoService("com.sun.star.i18n.Transliteration") + oTr = CreateUnoService("com.sun.star.i18n.Transliteration") - oTr.LoadModuleByImplName("LOWERCASE_UPPERCASE", oLoc) - TestUtil.AssertEqual(oTr.transliterateString2String(s, 0, Len(s)), "AB CD. EF. ", "LOWERCASE_UPPERCASE") + oTr.LoadModuleByImplName("LOWERCASE_UPPERCASE", oLoc) + TestUtil.AssertEqual(oTr.transliterateString2String(s, 0, Len(s)), "AB CD. EF. ", "LOWERCASE_UPPERCASE") - oTr.LoadModuleByImplName("UPPERCASE_LOWERCASE", oLoc) - TestUtil.AssertEqual(oTr.transliterateString2String(s, 0, Len(s)), "ab cd. ef. ", "UPPERCASE_LOWERCASE") + oTr.LoadModuleByImplName("UPPERCASE_LOWERCASE", oLoc) + TestUtil.AssertEqual(oTr.transliterateString2String(s, 0, Len(s)), "ab cd. ef. ", "UPPERCASE_LOWERCASE") - oTr.LoadModuleByImplName("TOGGLE_CASE", oLoc) - TestUtil.AssertEqual(oTr.transliterateString2String(s, 0, Len(s)), "ab CD. Ef. ", "TOGGLE_CASE") + oTr.LoadModuleByImplName("TOGGLE_CASE", oLoc) + TestUtil.AssertEqual(oTr.transliterateString2String(s, 0, Len(s)), "ab CD. Ef. ", "TOGGLE_CASE") - oTr.LoadModuleByImplName("IGNORE_CASE", oLoc) - TestUtil.AssertEqual(oTr.transliterateString2String(s, 0, Len(s)), "ab cd. ef. ", "IGNORE_CASE") + oTr.LoadModuleByImplName("IGNORE_CASE", oLoc) + TestUtil.AssertEqual(oTr.transliterateString2String(s, 0, Len(s)), "ab cd. ef. ", "IGNORE_CASE") ' tdf#152520: Without the fix in place, this test would have crashed here - oTr.LoadModuleByImplName("TITLE_CASE", oLoc) - TestUtil.AssertEqual(oTr.transliterateString2String(s, 0, Len(s)), "Ab cd. ef. ", "TITLE_CASE") + oTr.LoadModuleByImplName("TITLE_CASE", oLoc) + TestUtil.AssertEqual(oTr.transliterateString2String(s, 0, Len(s)), "Ab cd. ef. ", "TITLE_CASE") - oTr.LoadModuleByImplName("SENTENCE_CASE", oLoc) - TestUtil.AssertEqual(oTr.transliterateString2String(s, 0, Len(s)), "Ab cd. ef. ", "SENTENCE_CASE") + oTr.LoadModuleByImplName("SENTENCE_CASE", oLoc) + TestUtil.AssertEqual(oTr.transliterateString2String(s, 0, Len(s)), "Ab cd. ef. ", "SENTENCE_CASE") Exit Sub errorHandler: |