You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
18 lines
403 B
18 lines
403 B
using Bit.Core.Utilities; |
|
using Xunit; |
|
|
|
namespace Bit.Core.Test.Utilities; |
|
|
|
public class AssemblyHelpersTests |
|
{ |
|
[Fact] |
|
public void ReturnsValidVersionAndGitHash() |
|
{ |
|
var version = AssemblyHelpers.GetVersion(); |
|
_ = Version.Parse(version); |
|
|
|
var gitHash = AssemblyHelpers.GetGitHash(); |
|
Assert.NotNull(gitHash); |
|
Assert.Equal(8, gitHash.Length); |
|
} |
|
}
|
|
|