diff options
author | perlancar (on netbook-dell-xps13) <perlancar@gmail.com> | 2020-01-04 07:04:53 +0700 |
---|---|---|
committer | perlancar (on netbook-dell-xps13) <perlancar@gmail.com> | 2020-01-04 07:04:53 +0700 |
commit | b0d7bd956cbe697b0e03be1b036477f5fd69a4fc (patch) | |
tree | 64d269ccc66c6b3676e13cb5b8549a20eda53294 | |
parent | a7f5633541328b6fbd49b7dab2bf7741600456c6 (diff) |
[doc] Fix example in Synopsis [GH#3]
-rw-r--r-- | lib/Test/Regexp/Pattern.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Test/Regexp/Pattern.pm b/lib/Test/Regexp/Pattern.pm index 54b6a97..21676e7 100644 --- a/lib/Test/Regexp/Pattern.pm +++ b/lib/Test/Regexp/Pattern.pm @@ -259,7 +259,7 @@ sub regexp_patterns_in_all_modules_ok { To check all regexp patterns in a module: - use Test::Regexp::Patterns tests=>1; + use Test::Regexp::Pattern; regexp_patterns_in_module_ok("Foo::Bar", {opt => ...}, $msg); Alternatively, you can check all regexp patterns in all modules in a distro: |