Skip to content

Commit 45aaad8

Browse files
committed
Handle correctly matching status for multi-value rules
1 parent c13882e commit 45aaad8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/WireMockInspector/ViewModels/MainWindowViewModel.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -657,7 +657,7 @@ private static IEnumerable<SettingsWrapper> MapToSettingsWrappers(object serverS
657657
var v = x.ToObject<MatchJOBject>();
658658
return new MatchInfo
659659
{
660-
Matched = v.Score > 0,
660+
Matched = v.Score == 1.0,
661661
RuleName = v.Name
662662
};
663663
}).ToList() ?? new List<MatchInfo>()

0 commit comments

Comments
 (0)