projects
/
kivitendo-erp.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ac01c25
)
JavaScript-Tests: Liste der Testdateien sortieren
author
Moritz Bunkus
<m.bunkus@linet-services.de>
Tue, 24 Feb 2015 12:58:53 +0000
(13:58 +0100)
committer
Moritz Bunkus
<m.bunkus@linet-services.de>
Tue, 24 Feb 2015 12:58:53 +0000
(13:58 +0100)
SL/Controller/JSTests.pm
patch
|
blob
|
history
diff --git
a/SL/Controller/JSTests.pm
b/SL/Controller/JSTests.pm
index
1c8a67b
..
b3da9f2
100644
(file)
--- a/
SL/Controller/JSTests.pm
+++ b/
SL/Controller/JSTests.pm
@@
-6,6
+6,7
@@
use parent qw(SL::Controller::Base);
use File::Find ();
use File::Spec ();
+use List::UtilsBy qw(sort_by);
use SL::System::Process;
@@
-42,7
+43,7
@@
sub init_all_scripts {
File::Find::find($wanted, $exe_dir . '/js/t');
- return
\@scripts
;
+ return
[ sort_by { lc } @scripts ]
;
}
sub init_scripts_to_run {