LanguageTool: don't crash if REST protocol isn't set
[LibreOffice.git] / basic / qa / basic_coverage / test_join_method.bas
blob9076a0f8d83e653af9ec76772bd0210157abbcac
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 ' Join
12 Dim aStrings(2) as String
13 aStrings(0) = "Hello"
14 aStrings(1) = "world"
15 If ( Join( aStrings, " " ) <> "Hello world " ) Then
16 doUnitTest = "FAIL"
17 Else
18 doUnitTest = "OK"
19 End If
20 End Function