diff --git a/TestStack.ConventionTests/Conventions/ViewModelShouldInheritFromINotifyPropertyChanged.cs b/TestStack.ConventionTests/Conventions/ViewModelShouldInheritFromINotifyPropertyChanged.cs index 26fd443..463c5c6 100644 --- a/TestStack.ConventionTests/Conventions/ViewModelShouldInheritFromINotifyPropertyChanged.cs +++ b/TestStack.ConventionTests/Conventions/ViewModelShouldInheritFromINotifyPropertyChanged.cs @@ -20,7 +20,7 @@ public void Execute(Types data, IConventionResultContext result) var failingData = data.TypesToVerify.Where(t => t.Name.EndsWith(viewModelSuffix, StringComparison.InvariantCultureIgnoreCase)) .Where(t => !notifyPropertyChanged.IsAssignableFrom(t)); - result.Is("ViewModels (types named *{0}) should inherit from INotifyPropertyChanged", + result.Is(string.Format("ViewModels (types named *{0}) should inherit from INotifyPropertyChanged", viewModelSuffix), failingData); }