summaryrefslogtreecommitdiffstats
path: root/t/infer.t
diff options
context:
space:
mode:
Diffstat (limited to 't/infer.t')
-rw-r--r--t/infer.t2
1 files changed, 1 insertions, 1 deletions
diff --git a/t/infer.t b/t/infer.t
index 34703a0..c269582 100644
--- a/t/infer.t
+++ b/t/infer.t
@@ -75,7 +75,7 @@ use Test::Fatal;
my $c = My::Container->new;
like(
exception { $c->baz_no_infer },
- qr/^Attribute \(bar\) is required/,
+ qr/^Attribute \((?:foo|bar)\) is required/,
"not inferred when not requested"
);
}