Unverified Commit 7bedd0f1 authored by Ian Hickson's avatar Ian Hickson Committed by GitHub

Fix incorrect logging. (#88042)

parent f0e832cd
......@@ -120,7 +120,7 @@ class Multiple extends Transition {
@override
String toString() {
if (_originalPatterns.length == patterns.length) {
if (patterns.isEmpty) {
return '${_originalPatterns.map(describe).join(', ')} (all matched)';
}
return '${_originalPatterns.map(describe).join(', ')} (matched ${_originalPatterns.length - patterns.length} so far)';
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment