adjust template i18n test to use the real macro parser
This commit is contained in:
parent
f509317d55
commit
e596489f10
2 changed files with 36 additions and 23 deletions
17
t/lib/WebGUI/Macro/Callback.pm
Normal file
17
t/lib/WebGUI/Macro/Callback.pm
Normal file
|
|
@ -0,0 +1,17 @@
|
|||
package WebGUI::Macro::Callback;
|
||||
|
||||
use strict;
|
||||
use warnings;
|
||||
|
||||
my $callback = sub {''};
|
||||
|
||||
sub process {
|
||||
return $callback->(@_);
|
||||
}
|
||||
|
||||
sub setCallback {
|
||||
$callback = shift;
|
||||
}
|
||||
|
||||
1;
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue