groovy-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From pascalschumac...@apache.org
Subject groovy git commit: Fixed typo in regex matcher operator in style-guide.adoc (closes #273)
Date Thu, 25 Feb 2016 07:14:37 GMT
Repository: groovy
Updated Branches:
  refs/heads/GROOVY_2_4_X 35f78b144 -> fa3bbba18


Fixed typo in regex matcher operator in style-guide.adoc (closes #273)


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

Branch: refs/heads/GROOVY_2_4_X
Commit: fa3bbba1851e2d07f21729bedf331ce61e5ebe76
Parents: 35f78b1
Author: Leo Jiapei Lin <peipei.520@hotmail.com>
Authored: Fri Feb 12 15:12:43 2016 -0500
Committer: pascalschumacher <pascalschumacher@gmx.net>
Committed: Thu Feb 25 08:14:19 2016 +0100

----------------------------------------------------------------------
 src/spec/doc/style-guide.adoc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/groovy/blob/fa3bbba1/src/spec/doc/style-guide.adoc
----------------------------------------------------------------------
diff --git a/src/spec/doc/style-guide.adoc b/src/spec/doc/style-guide.adoc
index d7eb9c5..f503132 100644
--- a/src/spec/doc/style-guide.adoc
+++ b/src/spec/doc/style-guide.adoc
@@ -494,7 +494,7 @@ assert map['CA'] == 'California'
 assert map.WA == 'Washington'
 
 // matches() strings against patterns
-assert 'foo' =~ pattern
+assert 'foo' ==~ pattern
 ----
 
 == The Groovy Development Kit


Mime
View raw message