Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F18550942
D12436.id29848.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
809 B
Referenced Files
None
Subscribers
None
D12436.id29848.diff
View Options
diff --git a/src/unit/parser/ArcanistGoTestResultParser.php b/src/unit/parser/ArcanistGoTestResultParser.php
--- a/src/unit/parser/ArcanistGoTestResultParser.php
+++ b/src/unit/parser/ArcanistGoTestResultParser.php
@@ -31,7 +31,7 @@
// We have a passing test
$meta = array();
preg_match(
- '/^--- PASS: (?P<test_name>.+) \((?P<time>.+) seconds\).*/',
+ '/^--- PASS: (?P<test_name>.+) \((?P<time>.+)\s*s(?:econds)?\).*/',
$line,
$meta);
@@ -51,7 +51,7 @@
$reason = trim($test_results[$i + 1]);
$meta = array();
preg_match(
- '/^--- FAIL: (?P<test_name>.+) \((?P<time>.+) seconds\).*/',
+ '/^--- FAIL: (?P<test_name>.+) \((?P<time>.+)\s*s(?:econds)?\).*/',
$line,
$meta);
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sep 9 2025, 11:33 AM (10 w, 2 d ago)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
11246240
Default Alt Text
D12436.id29848.diff (809 B)
Attached To
Mode
D12436: allow either (<time> seconds) or (<time>s) format for test result time
Attached
Detach File
Event Timeline
Log In to Comment