Skip to content

Commit

Permalink
fix regex
Browse files Browse the repository at this point in the history
  • Loading branch information
Kludex committed Jan 20, 2025
1 parent 3e2e90d commit 86d6939
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/test_configure.py
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@
from logfire.testing import TestExporter

PROCESS_RUNTIME_VERSION_REGEX = r'(?P<major>\d+)\.(?P<minor>\d+)\.(?P<patch>\d+)'
PROCESS_RUNTIME_DESCRIPTION_REGEX = r'(?P<major>\d+)\.(?P<minor>\d+)\.(?P<patch>\d+) \(main, (?P<month>[A-Za-z]{3}) (?P<day>\d{1,2}) (?P<year>\d{4}), (?P<hour>\d{2}):(?P<minute>\d{2}):(?P<second>\d{2})\) \n?\[Clang (?P<clang_version>[\d.]+)\s?\]'
PROCESS_RUNTIME_DESCRIPTION_REGEX = r'(?P<major>\d+)\.(?P<minor>\d+)\.(?P<patch>\d+) \(main, (?P<month>[A-Za-z]{3})\s+(?P<day>\d{1,2}) (?P<year>\d{4}),(?P<hour>\d{2}):(?P<minute>\d{2}):(?P<second>\d{2})\)\s*\[Clang (?P<clang_version>[\d.]+)\s*\]'


def test_propagate_config_to_tags(exporter: TestExporter) -> None:
Expand Down

0 comments on commit 86d6939

Please sign in to comment.