mirror of
https://github.com/masscollaborationlabs/emacs.git
synced 2025-07-09 05:30:50 +00:00

* lisp/progmodes/cperl-mode.el (cperl-style-alist): Add cperl-close-paren-offset to the settings for PBP style. * test/lisp/progmodes/cperl-mode-tests.el (cperl-bug19709): New test to verify correct indentation of closing parentheses (Bug#19709). * test/lisp/progmodes/cperl-mode-resources/cperl-bug-19709.pl: New test case with code from the bug report. * test/lisp/progmodes/cperl-mode-resources/cperl-indent-styles.pl: Add a new test clause for cperl-close-paren-offset.
25 lines
333 B
Raku
25 lines
333 B
Raku
# -------- bug#19709: input --------
|
|
my $a = func1(
|
|
Module::test()
|
|
);
|
|
|
|
my $b = func2(
|
|
test()
|
|
);
|
|
|
|
my $c = func3(
|
|
Module::test(),
|
|
);
|
|
# -------- bug#19709: expected output --------
|
|
my $a = func1(
|
|
Module::test()
|
|
);
|
|
|
|
my $b = func2(
|
|
test()
|
|
);
|
|
|
|
my $c = func3(
|
|
Module::test(),
|
|
);
|
|
# -------- bug#19709: end --------
|