Add test for SpectreTest macro. Handle fall-through condition in Macro itself.
This commit is contained in:
parent
9bb5497aff
commit
ae08335e9c
2 changed files with 46 additions and 2 deletions
|
|
@ -35,8 +35,8 @@ sub process {
|
|||
my $i18n = WebGUI::International->new($session, "Macro_SpectreCheck");
|
||||
if (defined $status) {
|
||||
return $i18n->get('success') if($status eq 'success');
|
||||
return $i18n->get('subnet') if($status eq 'subnet');
|
||||
return $i18n->get('spectre') if($status eq 'spectre');
|
||||
return $i18n->get('subnet') if($status eq 'subnet');
|
||||
return $i18n->get('spectre');
|
||||
}
|
||||
else {
|
||||
return $i18n->get('spectre');
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue