public
Description: My mirror of phpspec
Homepage: http://www.phpspec.org/
Clone URL: git://github.com/tedkulp/phpspec.git
Merged r187 into trunk

git-svn-id: http://phpspec.googlecode.com/svn/trunk@191 
d6e91ea2-e33a-0410-98df-1d493bd67c58
padraic.brady (author)
Fri Jan 11 08:41:28 -0800 2008
commit  d220f5abad8d5f1f255527a9639e3102662f8c6d
tree    49867a2efa310a2846caaaf05a26c73447336b3f
parent  edb9006c905643eb426018283e0e801142373e7b
...
44
45
46
47
 
48
49
50
...
216
217
218
 
 
 
 
 
 
219
220
221
...
44
45
46
 
47
48
49
50
...
216
217
218
219
220
221
222
223
224
225
226
227
0
@@ -44,7 +44,7 @@ Other Targets:
0
     <property name="spec.src.default" value="${project.basedir}/.." />
0
     <property name="spec.src.classpath" value="/src" />
0
     <property name="spec.name" value="PHPSpec" />
0
- <property name="spec.version" value="0.2.2" /> <!-- VERSION FOR EDITING -->
0
+ <property name="spec.version" value="0.2.3" /> <!-- VERSION FOR EDITING -->
0
     <property name="spec.stability" value="stable" />
0
     <property name="spec.svn.baseurl" value="http://phpspec.googlecode.com/svn/" />
0
     <property name="spec.svn.url" value="${svn.url}/trunk" />
0
@@ -216,6 +216,12 @@ Other Targets:
0
                 <install as="phpspec.bat" name="scripts/phpspec.bat" />
0
             </release>
0
 
0
+ <changelog version="0.2.3" date="2008-01-11" license="LGPL">
0
+ * Patched a Predicate issue courtesy KUBO Atsuhiro
0
+ * Reminder to self that no regression testing coupled with
0
+ a busy day equals a bad time to make a release!
0
+ </changelog>
0
+
0
       <changelog version="0.2.2" date="2008-01-11" license="LGPL">
0
                 * Patched a Predicate issue courtesy of Takagi Masahiro
0
          and Kubo
...
132
133
134
135
 
136
137
138
...
132
133
134
 
135
136
137
138
0
@@ -132,7 +132,7 @@ class PHPSpec_Specification
0
         }
0
 
0
         // check for any predicate style matching
0
- $result = preg_match("/^((?:be|have)A?n?)(.*)/", $method, $matches);
0
+ $result = preg_match("/^((?:be|have)(?:A|An)?)(.*)/", $method, $matches);
0
         if ($result && empty($args) && $this instanceof PHPSpec_Specification_Object) {
0
             $predicate = $matches[1];
0
             $predicateSuffix = $matches[2];

Comments

    No one has commented yet.