Merge "RepoCommandTest: Improve assertion message for remote branch recording"
This commit is contained in:
commit
0269f07401
|
@ -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"));
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue