Merge "RepoCommandTest: Improve assertion message for remote branch recording"

This commit is contained in:
Terry Parker 2016-05-26 18:10:25 -04:00 committed by Gerrit Code Review @ Eclipse.org
commit 0269f07401
1 changed files with 2 additions and 2 deletions

View File

@ -743,9 +743,9 @@ public void testRecordRemoteBranch() throws Exception {
FileBasedConfig c = new FileBasedConfig(gitmodules,
FS.DETECTED);
c.load();
assertEquals("standard branches work", "master",
assertEquals("Recording remote branches should work for short branch descriptions", "master",
c.getString("submodule", "with-branch", "branch"));
assertEquals("long branches work", "refs/heads/master",
assertEquals("Recording remote branches should work for full ref specs", "refs/heads/master",
c.getString("submodule", "with-long-branch", "branch"));
}
}