Debian Codegraph @

basic/qa/basic_coverage/test_tdf111313.bas

raw
1 '
2 ' This file is part of the LibreOffice project.
3 '
4 ' This Source Code Form is subject to the terms of the Mozilla Public
5 ' License, v. 2.0. If a copy of the MPL was not distributed with this
6 ' file, You can obtain one at http://mozilla.org/MPL/2.0/.
7 '
8
9 Function doUnitTest as String
10
11 ' Without the fix in place, this test would have crashed
12 s = "abc"
13 Mid(s,1) = "d"
14 If (s = "d") Then
15 doUnitTest = "OK"
16 Else
17 doUnitTest = "FAIL"
18 End If
19 End Function