Skip to content

Commit

Permalink
As for 2.2.0-latest, the version name is 3f425f0e. There is no "." in…
Browse files Browse the repository at this point in the history
… the middle. A simple not empty check should be fine (#43)
  • Loading branch information
minhhieugma authored Sep 8, 2023
1 parent 9249a1e commit 43aaa15
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion Milvus.Client.Tests/MiscTests.cs
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,11 @@ public async Task HealthTest()

[Fact]
public async Task GetVersion()
=> Assert.Contains(".", await Client.GetVersionAsync());
{
string version = await Client.GetVersionAsync();

Assert.NotEmpty(version);
}

[Fact]
public async Task Dispose()
Expand Down

0 comments on commit 43aaa15

Please sign in to comment.