]> source.dussan.org Git - jgit.git/commitdiff
Remove a duplicate test from T0003_Basic 51/51/1
authorRobin Rosenberg <robin.rosenberg@dewire.com>
Wed, 7 Oct 2009 21:45:31 +0000 (23:45 +0200)
committerRobin Rosenberg <robin.rosenberg@dewire.com>
Wed, 7 Oct 2009 21:45:31 +0000 (23:45 +0200)
In the pre-historic commit 6d87484b4dee5671a38e64a8e4990dff40a4874f
two tests became identical. Remove one of them.

Change-Id: I6182ecd4db0162d87a5f4577005b2bf4d5e8c89f

Signed-off-by: Robin Rosenberg <robin.rosenberg@dewire.com>
org.eclipse.jgit.test/tst/org/eclipse/jgit/lib/T0003_Basic.java

index d17cea6aecfbb22eba75fd229ab51b8358f80865..081e8e4c9d0a7b71d9f0c8c98cf0f4aa1667251d 100644 (file)
@@ -126,16 +126,6 @@ public class T0003_Basic extends RepositoryTestCase {
                assertTrue("Read-only " + o, !o.canWrite());
        }
 
-       public void test004_CheckNewConfig() {
-               final RepositoryConfig c = db.getConfig();
-               assertNotNull(c);
-               assertEquals("0", c.getString("core", null, "repositoryformatversion"));
-               assertEquals("0", c.getString("CoRe", null, "REPOSITORYFoRmAtVeRsIoN"));
-               assertEquals("true", c.getString("core", null, "filemode"));
-               assertEquals("true", c.getString("cOrE", null, "fIlEModE"));
-               assertNull(c.getString("notavalue", null, "reallyNotAValue"));
-       }
-
        public void test005_ReadSimpleConfig() {
                final RepositoryConfig c = db.getConfig();
                assertNotNull(c);