summaryrefslogtreecommitdiff
path: root/t/50-www-efa.t
diff options
context:
space:
mode:
Diffstat (limited to 't/50-www-efa.t')
-rw-r--r--t/50-www-efa.t6
1 files changed, 3 insertions, 3 deletions
diff --git a/t/50-www-efa.t b/t/50-www-efa.t
index e527272..bae1e94 100644
--- a/t/50-www-efa.t
+++ b/t/50-www-efa.t
@@ -80,15 +80,15 @@ sub is_efa_err {
isa_ok($efa->{'error'}, 'WWW::Efa::Error::Setup');
is(
- $efa->{'error'}->{'key'}, $key,
+ $efa->{'error'}->option(), $key,
"$key => $val: Error: Correct key",
);
is(
- $efa->{'error'}->{'value'}, $val_want,
+ $efa->{'error'}->value(), $val_want,
"$key => $val: Error: Correct valuef",
);
is(
- $efa->{'error'}->{'message'}, $str,
+ $efa->{'error'}->message(), $str,
"$key => $val: Error: String is '$str'",
);
}