You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maven.apache.org by mi...@apache.org on 2016/05/28 08:45:43 UTC

maven-surefire git commit: [SUREFIRE-1249] Typo in regex examples

Repository: maven-surefire
Updated Branches:
  refs/heads/master e0bcffd05 -> c1e16ccb9


[SUREFIRE-1249] Typo in regex examples


Project: http://git-wip-us.apache.org/repos/asf/maven-surefire/repo
Commit: http://git-wip-us.apache.org/repos/asf/maven-surefire/commit/c1e16ccb
Tree: http://git-wip-us.apache.org/repos/asf/maven-surefire/tree/c1e16ccb
Diff: http://git-wip-us.apache.org/repos/asf/maven-surefire/diff/c1e16ccb

Branch: refs/heads/master
Commit: c1e16ccb91f661ab84d9bf838b4edd2a0e356d47
Parents: e0bcffd
Author: Michael Osipov <mi...@apache.org>
Authored: Sat May 28 10:44:52 2016 +0200
Committer: Michael Osipov <mi...@apache.org>
Committed: Sat May 28 10:44:52 2016 +0200

----------------------------------------------------------------------
 .../src/site/apt/examples/inclusion-exclusion.apt.vm             | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/maven-surefire/blob/c1e16ccb/maven-surefire-plugin/src/site/apt/examples/inclusion-exclusion.apt.vm
----------------------------------------------------------------------
diff --git a/maven-surefire-plugin/src/site/apt/examples/inclusion-exclusion.apt.vm b/maven-surefire-plugin/src/site/apt/examples/inclusion-exclusion.apt.vm
index 9bca134..143e026 100644
--- a/maven-surefire-plugin/src/site/apt/examples/inclusion-exclusion.apt.vm
+++ b/maven-surefire-plugin/src/site/apt/examples/inclusion-exclusion.apt.vm
@@ -150,7 +150,7 @@ Inclusions and Exclusions of Tests
         <version>${project.version}</version>
         <configuration>
           <includes>
-            <include>%regex[.*[Cat|Dog].*Test.*]</include>
+            <include>%regex[.*(Cat|Dog).*Test.*]</include>
           </includes>
         </configuration>
       </plugin>
@@ -169,7 +169,7 @@ Inclusions and Exclusions of Tests
 
 +---+
   [...]
-          <include>%regex[.*[Cat|Dog].*], !%regex[pkg.*Slow.*.class], pkg/**/*Fast*.java, Basic????, !Unstable*</include>
+          <include>%regex[.*(Cat|Dog).*], !%regex[pkg.*Slow.*.class], pkg/**/*Fast*.java, Basic????, !Unstable*</include>
   [...]
           <exclude>%regex[pkg.*Slow.*.class], Unstable*</exclude>
   [...]