Skip to content

Commit 525716b

Browse files
author
Jake Ginnivan
committed
Fixed convention title (#48)
1 parent a16cbe6 commit 525716b

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)