Skip to content
This repository has been archived by the owner on Jun 3, 2024. It is now read-only.

Commit

Permalink
Fix 1 testcase
Browse files Browse the repository at this point in the history
An unrecognized reference name is only pecuiliar if it did not match a
custom rule.
  • Loading branch information
scunz committed Nov 6, 2013
1 parent 325fb5d commit a6f4498
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libGitWrap/RefName.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -356,7 +356,7 @@ namespace Git
scopeTest(match.mid(10));
}
else {
isPecuiliar = true;
isPecuiliar = customMatches.count() == 0;
}
}

Expand Down

1 comment on commit a6f4498

@scunz
Copy link
Member Author

@scunz scunz commented on a6f4498 Nov 6, 2013

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I really start to appreciate unit testing 🍰 🍰 🍰

Please sign in to comment.