Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
F
FIT-Connect-SDK - .NET
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
FIT-Connect
FIT-Connect-SDK - .NET
Commits
ae2b3a05
Commit
ae2b3a05
authored
2 years ago
by
Klaus Fischer
Browse files
Options
Downloads
Patches
Plain Diff
Updated test for UserAgent string
parent
aac39343
No related branches found
Branches containing commit
No related tags found
Tags containing commit
2 merge requests
!29
830 Version Header
,
!27
Draft: Issue/830 http header add version
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
BasicUnitTest/SenderTests.cs
+1
-1
1 addition, 1 deletion
BasicUnitTest/SenderTests.cs
with
1 addition
and
1 deletion
BasicUnitTest/SenderTests.cs
+
1
−
1
View file @
ae2b3a05
...
...
@@ -69,7 +69,7 @@ public class SenderTests {
var
regex
=
new
Regex
(
"^(FITConnectDotNetSDK)\
\
/(((\
\
d+
)\
\.){2,3}\
\
d(-[a-z
A-Z]+\\.\\d+)?) \
\((commit
)
:[a-zA-Z0-9]{5,}
;
os:(
[a-zA-Z0-9\\.]+)\
\)$"
);
@
"^(FITConnectDotNetSDK)\/(((\d+\.){2,3}\d
+
(-[a-z
]+\.\d+)?)|(local-built))\s{1}
\((commit:
)(
[a-zA-Z0-9]{5,}
|(unreleased));\s{1}(
os
)
:(
.*)
\)$"
);
version
.
Should
().
MatchRegex
(
regex
);
Console
.
WriteLine
(
version
);
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment