Skip to content

Commit 55a6249

Browse files
authored
Merge pull request #43 from HTTPArchive/developing-thrush
Add string custom metrics
2 parents 653f780 + ca49c29 commit 55a6249

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

internal/process_test.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -221,6 +221,8 @@ def merge_custom_metrics(self):
221221
value = int(value)
222222
elif re.match(r'^[0-9]*\.[0-9]+$', value):
223223
value = float(value)
224+
else:
225+
value = value.strip()
224226
if name == 'test_result':
225227
# Only use a custom value for a test result if it is explicitly set
226228
if value:

0 commit comments

Comments
 (0)