Skip to content

Commit f199e10

Browse files
committed
Make agent test less brittle
1 parent d9d21ba commit f199e10

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/SparkPost.Tests/UserAgentTests.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ public UserAgentTests()
1717
[Fact]
1818
public void It_should_default_to_the_library_version()
1919
{
20-
Assert.Equal($"csharp-sparkpost/2.0.0", settings.UserAgent);
20+
Assert.StartsWith($"csharp-sparkpost/2.", settings.UserAgent);
2121
}
2222

2323
[Fact]

0 commit comments

Comments
 (0)