summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSimon Green <mail@simon.green>2016-10-30 05:55:23 +0100
committerSimon Green <mail@simon.green>2016-10-30 05:55:23 +0100
commit3c60fba26b1fa51ec302d05dc6e76236d2f54ba4 (patch)
tree2a76627032e7e0cd8f01171171997ae851b79803
parent06779036db44ec799fee99173015c5349eb80c92 (diff)
downloadbugzilla-3c60fba26b1fa51ec302d05dc6e76236d2f54ba4.tar.gz
bugzilla-3c60fba26b1fa51ec302d05dc6e76236d2f54ba4.tar.xz
Bug 228444 - Checking for unquoted non regex variable interpolated into regex
-rw-r--r--t/010dependencies.t2
1 files changed, 1 insertions, 1 deletions
diff --git a/t/010dependencies.t b/t/010dependencies.t
index 4b7ca223d..1b6c270a8 100644
--- a/t/010dependencies.t
+++ b/t/010dependencies.t
@@ -69,7 +69,7 @@ foreach my $module (keys %mods) {
$used =~ s#/#::#g;
$used =~ s#\.pm$##;
$used =~ s#\$module#[^:]+#;
- $used =~ s#\${[^}]+}#[^:]+#;
+ $used =~ s#\$\{[^}]+}#[^:]+#;
$used =~ s#[" ]##g;
push(@use, grep(/^\Q$used\E$/, keys %mods));
}