diff options
author | Stefan Beller <sbeller@google.com> | 2016-05-03 11:27:13 -0700 |
---|---|---|
committer | Stefan Beller <sbeller@google.com> | 2016-05-25 16:57:42 -0700 |
commit | 53a64a0b8c7d841c8d677962947a4c90765274b5 (patch) | |
tree | 608ceb0ab73322ba7ede6cc38389e26b01f5826f /org.eclipse.jgit.test/tst/org/eclipse | |
parent | 8ff08994a4d1253c36de36090212806046d4331c (diff) | |
download | jgit-53a64a0b8c7d841c8d677962947a4c90765274b5.tar.gz jgit-53a64a0b8c7d841c8d677962947a4c90765274b5.zip |
RepoCommandTest: Improve assertion message for remote branch recording
Change-Id: Ic14e9f9c4bf007b464e463f5047ec5a8d0b9236c
Signed-off-by: Stefan Beller <sbeller@google.com>
Diffstat (limited to 'org.eclipse.jgit.test/tst/org/eclipse')
-rw-r--r-- | org.eclipse.jgit.test/tst/org/eclipse/jgit/gitrepo/RepoCommandTest.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/org.eclipse.jgit.test/tst/org/eclipse/jgit/gitrepo/RepoCommandTest.java b/org.eclipse.jgit.test/tst/org/eclipse/jgit/gitrepo/RepoCommandTest.java index 2cec34ba89..6e6f4ed57f 100644 --- a/org.eclipse.jgit.test/tst/org/eclipse/jgit/gitrepo/RepoCommandTest.java +++ b/org.eclipse.jgit.test/tst/org/eclipse/jgit/gitrepo/RepoCommandTest.java @@ -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")); } } |