- /**\r
- * test invalid input, open and close do not match\r
- *\r
- * TODO: should there be an exception?\r
- */\r
- public function testExpandAclNoMatching2() {\r
- $text="<1>2><3>";\r
- $this->assertEquals(array(), expand_acl($text));\r
+ /**
+ * test invalid input, open and close do not match
+ *
+ * TODO: should there be an exception?
+ */
+ public function testExpandAclNoMatching2() {
+ $text="<1>2><3>";
+// The angles are delimiters which aren't important
+// the important thing is the numeric content, this returns array(1,2,3) currently
+// we may wish to eliminate 2 from the results, though it isn't harmful
+// It would be a better test to figure out if there is any ACL input which can
+// produce this $text and fix that instead.
+// $this->assertEquals(array(), expand_acl($text));