tdf#130857 qt weld: Implement QtInstanceWidget::strip_mnemonic
[LibreOffice.git] / basic / qa / basic_coverage / test_ltrim_method.bas
blob3395f5f2439a31a8473928f2e5d95a049e1b07ad
1 ' This file is part of the LibreOffice project.
3 ' This Source Code Form is subject to the terms of the Mozilla Public
4 ' License, v. 2.0. If a copy of the MPL was not distributed with this
5 ' file, You can obtain one at http://mozilla.org/MPL/2.0/.
8 Option Explicit
10 Function doUnitTest as String
11 dim aString as Variant
12 aString = "Hello"
13 ' LTRIM
14 If ( LTrim( " Hello" ) <> aString ) Then
15 doUnitTest = "FAIL"
16 Else
17 doUnitTest = "OK"
18 End If
19 End Function