Page MenuHomePhorge

Simplify project regex further
Needs ReviewPublic

Authored by pppery on Fri, Apr 11, 15:27.
Tags
None
Referenced Files
F3511640: D25959.1744805767.diff
Tue, Apr 15, 12:16
F3453538: D25959.1744722442.diff
Mon, Apr 14, 13:07
F3441746: D25959.1744693310.diff
Mon, Apr 14, 05:01
F3431181: D25959.1744663928.diff
Sun, Apr 13, 20:52
F3430767: D25959.1744661631.diff
Sun, Apr 13, 20:13
F3408634: D25959.1744596300.diff
Sun, Apr 13, 02:05
F3408401: D25959.1744595431.diff
Sun, Apr 13, 01:50
F3408398: D25959.1744595218.diff
Sun, Apr 13, 01:46

Details

Summary

Fixes T16028

Test Plan

Assert that #js-draw-lib (or any other project name with one or two characters followed by a non-word) links correctly. It was previously parsed as #js -draw-lib.

Repeat the test plan for D25838 and observe it still works

Unit TestsFailed

TimeTest
5 msProjectRemarkupRuleTestCase::testProjectObjectRemarkup
Assertion failed, expected values to be equal (at ProjectRemarkupRuleTestCase.php:155): #js-draw Expected vs Actual Output Diff --- Old Value
79 msPhabricatorCelerityTestCase::testCelerityMaps
1 assertion passed.
7 msPhabricatorConduitTestCase::testConduitMethods
1 assertion passed.
0 msPhabricatorInfrastructureTestCase::testApplicationsInstalled
1 assertion passed.
1 msPhabricatorInfrastructureTestCase::testRejectMySQLNonUTF8Queries
1 assertion passed.
View Full Test Results (1 Failed · 30 Passed)