Bump version to 6.4.7.2.M8
[LibreOffice.git] / basic / qa / basic_coverage / test_instr_method.vb
blob716aa215878b3047f6e71a814fbd05683cf76e16
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 Function doUnitTest as Integer
9 dim aString as Variant
10 aString = "Hello"
11 ' InStr
12 If ( InStr( 1, aString, "l", 1) <> 3 ) Then
13 doUnitTest = 0
14 Else
15 doUnitTest = 1
16 End If
17 End Function