Files
libreoffice/basic/qa/basic_coverage/test_mid_CountNegative_3args.vb
Julien Nabet 4e00df4f0b Related fdo#87834: add 2 unit tests
Change-Id: I4735b15c9535dc17665629510fdafe3dd4086e0b
Reviewed-on: https://gerrit.libreoffice.org/13708
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
2015-01-23 20:33:19 +00:00

16 lines
401 B
VB.net

'
' This file is part of the LibreOffice project.
'
' This Source Code Form is subject to the terms of the Mozilla Public
' License, v. 2.0. If a copy of the MPL was not distributed with this
' file, You can obtain one at http://mozilla.org/MPL/2.0/.
'
Function doUnitTest as Integer
If (Mid("abc", 5, -3) = "") Then
doUnitTest = 1
Else
doUnitTest = 0
End If
End Function