We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1af0c8c commit e98583aCopy full SHA for e98583a
src/YTest.MTP.XUnit2/MTPFramework/Capabilities/BannerMessageOwnerCapability.cs
@@ -15,12 +15,9 @@ internal sealed class BannerMessageOwnerCapability : IBannerMessageOwnerCapabili
15
Task.FromResult<string?>(string.Format(
16
CultureInfo.CurrentCulture,
17
"YTest.MTP.XUnit2 Runner version {0} ({1}-bit {2}) {3}",
18
- GetAssemblyVersion(typeof(BannerMessageOwnerCapability).Assembly),
+ XUnit2MTPExtension.Instance.Version,
19
IntPtr.Size * 8,
20
RuntimeInformation.FrameworkDescription,
21
Environment.NewLine
22
));
23
-
24
- private static string GetAssemblyVersion(Assembly assembly)
25
- => assembly.GetCustomAttribute<AssemblyInformationalVersionAttribute>()?.InformationalVersion ?? "<unknown>";
26
}
0 commit comments