Mercurial > octave
annotate test/bug-50014/bug-50014.tst @ 33665:6de41f40e397 default tip @
maint: Remove trailing spaces from code.
* NEWS.10.md, files-dock-widget.cc, data.cc, uifigure.m, assert.m:
Remove trailing spaces from code.
author | Rik <rik@octave.org> |
---|---|
date | Fri, 14 Jun 2024 16:05:56 -0700 |
parents | 2e484f9f1f18 |
children |
rev | line source |
---|---|
27923
bd51beb6205e
update formatting of copyright notices
John W. Eaton <jwe@octave.org>
parents:
27919
diff
changeset
|
1 ######################################################################## |
bd51beb6205e
update formatting of copyright notices
John W. Eaton <jwe@octave.org>
parents:
27919
diff
changeset
|
2 ## |
32632
2e484f9f1f18
maint: update Octave Project Developers copyright for the new year
John W. Eaton <jwe@octave.org>
parents:
31706
diff
changeset
|
3 ## Copyright (C) 2017-2024 The Octave Project Developers |
27918
b442ec6dda5c
use centralized file for copyright info for individual contributors
John W. Eaton <jwe@octave.org>
parents:
26376
diff
changeset
|
4 ## |
27923
bd51beb6205e
update formatting of copyright notices
John W. Eaton <jwe@octave.org>
parents:
27919
diff
changeset
|
5 ## See the file COPYRIGHT.md in the top-level directory of this |
bd51beb6205e
update formatting of copyright notices
John W. Eaton <jwe@octave.org>
parents:
27919
diff
changeset
|
6 ## distribution or <https://octave.org/copyright/>. |
23036 | 7 ## |
8 ## This file is part of Octave. | |
9 ## | |
24534
194eb4bd202b
maint: Update punctuation for GPL v3 license text.
Rik <rik@octave.org>
parents:
23043
diff
changeset
|
10 ## Octave is free software: you can redistribute it and/or modify it |
23036 | 11 ## under the terms of the GNU General Public License as published by |
24534
194eb4bd202b
maint: Update punctuation for GPL v3 license text.
Rik <rik@octave.org>
parents:
23043
diff
changeset
|
12 ## the Free Software Foundation, either version 3 of the License, or |
23036 | 13 ## (at your option) any later version. |
14 ## | |
15 ## Octave is distributed in the hope that it will be useful, but | |
16 ## WITHOUT ANY WARRANTY; without even the implied warranty of | |
17 ## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
18 ## GNU General Public License for more details. | |
19 ## | |
20 ## You should have received a copy of the GNU General Public License | |
21 ## along with Octave; see the file COPYING. If not, see | |
24534
194eb4bd202b
maint: Update punctuation for GPL v3 license text.
Rik <rik@octave.org>
parents:
23043
diff
changeset
|
22 ## <https://www.gnu.org/licenses/>. |
27923
bd51beb6205e
update formatting of copyright notices
John W. Eaton <jwe@octave.org>
parents:
27919
diff
changeset
|
23 ## |
bd51beb6205e
update formatting of copyright notices
John W. Eaton <jwe@octave.org>
parents:
27919
diff
changeset
|
24 ######################################################################## |
23036 | 25 |
23043
0c99b8c2e5bb
additional nested function and subfunction tests
John W. Eaton <jwe@octave.org>
parents:
23036
diff
changeset
|
26 %!error <duplicate subfunction or nested function name> |
0c99b8c2e5bb
additional nested function and subfunction tests
John W. Eaton <jwe@octave.org>
parents:
23036
diff
changeset
|
27 %! duplicate_nested_function () |
0c99b8c2e5bb
additional nested function and subfunction tests
John W. Eaton <jwe@octave.org>
parents:
23036
diff
changeset
|
28 |
30110
9080316864bf
update bug status in test suite
John W. Eaton <jwe@octave.org>
parents:
30109
diff
changeset
|
29 %!assert <*50014> (duplicate_nested_in_subfunction_ok (), 3) |
23036 | 30 |
23043
0c99b8c2e5bb
additional nested function and subfunction tests
John W. Eaton <jwe@octave.org>
parents:
23036
diff
changeset
|
31 %!error <duplicate subfunction or nested function name> |
0c99b8c2e5bb
additional nested function and subfunction tests
John W. Eaton <jwe@octave.org>
parents:
23036
diff
changeset
|
32 %! duplicate_nested_parent_function () |
0c99b8c2e5bb
additional nested function and subfunction tests
John W. Eaton <jwe@octave.org>
parents:
23036
diff
changeset
|
33 |
0c99b8c2e5bb
additional nested function and subfunction tests
John W. Eaton <jwe@octave.org>
parents:
23036
diff
changeset
|
34 %!error <duplicate subfunction or nested function name> |
0c99b8c2e5bb
additional nested function and subfunction tests
John W. Eaton <jwe@octave.org>
parents:
23036
diff
changeset
|
35 %! duplicate_parent_nested2 () |
0c99b8c2e5bb
additional nested function and subfunction tests
John W. Eaton <jwe@octave.org>
parents:
23036
diff
changeset
|
36 |
0c99b8c2e5bb
additional nested function and subfunction tests
John W. Eaton <jwe@octave.org>
parents:
23036
diff
changeset
|
37 %!error <duplicate subfunction or nested function name> |
0c99b8c2e5bb
additional nested function and subfunction tests
John W. Eaton <jwe@octave.org>
parents:
23036
diff
changeset
|
38 %! duplicate_parent_nested_function () |
23036 | 39 |
23043
0c99b8c2e5bb
additional nested function and subfunction tests
John W. Eaton <jwe@octave.org>
parents:
23036
diff
changeset
|
40 %!error <duplicate subfunction or nested function name> |
0c99b8c2e5bb
additional nested function and subfunction tests
John W. Eaton <jwe@octave.org>
parents:
23036
diff
changeset
|
41 %! duplicate_primary_nested_function () |
0c99b8c2e5bb
additional nested function and subfunction tests
John W. Eaton <jwe@octave.org>
parents:
23036
diff
changeset
|
42 |
0c99b8c2e5bb
additional nested function and subfunction tests
John W. Eaton <jwe@octave.org>
parents:
23036
diff
changeset
|
43 %!error <duplicate subfunction or nested function name> |
0c99b8c2e5bb
additional nested function and subfunction tests
John W. Eaton <jwe@octave.org>
parents:
23036
diff
changeset
|
44 %! duplicate_primary_subfunction_old_syntax () |
23036 | 45 |
23043
0c99b8c2e5bb
additional nested function and subfunction tests
John W. Eaton <jwe@octave.org>
parents:
23036
diff
changeset
|
46 %!error <duplicate subfunction or nested function name> |
0c99b8c2e5bb
additional nested function and subfunction tests
John W. Eaton <jwe@octave.org>
parents:
23036
diff
changeset
|
47 %! duplicate_primary_subfunction () |
23036 | 48 |
23043
0c99b8c2e5bb
additional nested function and subfunction tests
John W. Eaton <jwe@octave.org>
parents:
23036
diff
changeset
|
49 %!error <duplicate subfunction or nested function name> |
0c99b8c2e5bb
additional nested function and subfunction tests
John W. Eaton <jwe@octave.org>
parents:
23036
diff
changeset
|
50 %! duplicate_subfunction () |
0c99b8c2e5bb
additional nested function and subfunction tests
John W. Eaton <jwe@octave.org>
parents:
23036
diff
changeset
|
51 |
0c99b8c2e5bb
additional nested function and subfunction tests
John W. Eaton <jwe@octave.org>
parents:
23036
diff
changeset
|
52 %!error <duplicate subfunction or nested function name> |
0c99b8c2e5bb
additional nested function and subfunction tests
John W. Eaton <jwe@octave.org>
parents:
23036
diff
changeset
|
53 %! duplicate_subfunction_old_syntax () |
0c99b8c2e5bb
additional nested function and subfunction tests
John W. Eaton <jwe@octave.org>
parents:
23036
diff
changeset
|
54 |
30110
9080316864bf
update bug status in test suite
John W. Eaton <jwe@octave.org>
parents:
30109
diff
changeset
|
55 %!assert <*50014> (duplicate_subfunction_separate_scope_ok (), 3) |