]> source.dussan.org Git - jgit.git/commitdiff
RepoCommandTest: Improve assertion message for remote branch recording 36/71936/3
authorStefan Beller <sbeller@google.com>
Tue, 3 May 2016 18:27:13 +0000 (11:27 -0700)
committerStefan Beller <sbeller@google.com>
Wed, 25 May 2016 23:57:42 +0000 (16:57 -0700)
Change-Id: Ic14e9f9c4bf007b464e463f5047ec5a8d0b9236c
Signed-off-by: Stefan Beller <sbeller@google.com>
org.eclipse.jgit.test/tst/org/eclipse/jgit/gitrepo/RepoCommandTest.java

index 2cec34ba896ab225596af7344e631d4c551dbe4d..6e6f4ed57f3e3c6868d1794b6c2cd2b88300c786 100644 (file)
@@ -743,9 +743,9 @@ public class RepoCommandTest extends RepositoryTestCase {
                                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"));
                        }
                }