Skip to content

Commit 481d1af

Browse files
committed
add one more branch assert
1 parent 7687f84 commit 481d1af

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

opengrok-indexer/src/test/java/org/opengrok/indexer/history/MercurialRepositoryTest.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -516,6 +516,7 @@ void testBuildTagListOneMore() throws Exception {
516516

517517
MercurialRepository hgRepo = (MercurialRepository) RepositoryFactory.getRepository(repositoryRoot);
518518
assertNotNull(hgRepo);
519+
assertEquals("default", hgRepo.getBranch());
519520

520521
// Add tag. Using double space on purpose to test the parsing of tags.
521522
final String newTagName = "foo bar";

0 commit comments

Comments
 (0)