[tests] Improve assert to give more information about assertion failure.
This commit is contained in:
Родитель
0cd20ca533
Коммит
c75bbc3d59
|
@ -36,7 +36,7 @@ namespace LinkSdk {
|
|||
#else
|
||||
const string prefix = "System.Core, ";
|
||||
#endif
|
||||
Assert.True (aes.GetType ().Assembly.FullName.StartsWith (prefix, StringComparison.Ordinal), prefix);
|
||||
Assert.That (aes.GetType ().Assembly.FullName, Does.StartWith (prefix), prefix);
|
||||
}
|
||||
|
||||
static int trust_validation_callback;
|
||||
|
|
Загрузка…
Ссылка в новой задаче