Skip to content

Commit 2e06776

Browse files
committed
Merge pull request #53 from JakeGinnivan/ViewModelConventionFix
Fixed convention title (#48)
2 parents 90a9953 + 525716b commit 2e06776

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

TestStack.ConventionTests/Conventions/ViewModelShouldInheritFromINotifyPropertyChanged.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ public void Execute(Types data, IConventionResultContext result)
2020
var failingData = data.TypesToVerify.Where(t => t.Name.EndsWith(viewModelSuffix, StringComparison.InvariantCultureIgnoreCase))
2121
.Where(t => !notifyPropertyChanged.IsAssignableFrom(t));
2222

23-
result.Is("ViewModels (types named *{0}) should inherit from INotifyPropertyChanged",
23+
result.Is(string.Format("ViewModels (types named *{0}) should inherit from INotifyPropertyChanged", viewModelSuffix),
2424
failingData);
2525
}
2626

0 commit comments

Comments
 (0)