aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMykola Nikishov2009-10-23 17:10:09 (EDT)
committerMykola Nikishov2009-11-06 04:35:22 (EST)
commit75df95f31fe3d67df9bfc82b5c3b6b789a89a205 (patch)
tree15a1f7f929ab22cb9164c436024031f3cda636e4
parent84b7cb118370462f213b0a58dc92f48cb276b7ca (diff)
downloadegit-75df95f31fe3d67df9bfc82b5c3b6b789a89a205.zip
egit-75df95f31fe3d67df9bfc82b5c3b6b789a89a205.tar.gz
egit-75df95f31fe3d67df9bfc82b5c3b6b789a89a205.tar.bz2
Fix assert for a project in a non-existed git repositoryrefs/changes/93/93/2
Test project was created in the directory where there is no git repository and it's not nested into another existed repository. It's strange to expect that this project will be shared. Bug: 290676 Change-Id: Ibda750e8901e294262f6601f12f90fc004a41fbd Signed-off-by: Mykola Nikishov <mn@mn.com.ua>
-rw-r--r--org.eclipse.egit.core.test/src/org/eclipse/egit/core/op/T0001_ConnectProviderOperationTest.java3
1 files changed, 1 insertions, 2 deletions
diff --git a/org.eclipse.egit.core.test/src/org/eclipse/egit/core/op/T0001_ConnectProviderOperationTest.java b/org.eclipse.egit.core.test/src/org/eclipse/egit/core/op/T0001_ConnectProviderOperationTest.java
index dc3969f..a5a9a16 100644
--- a/org.eclipse.egit.core.test/src/org/eclipse/egit/core/op/T0001_ConnectProviderOperationTest.java
+++ b/org.eclipse.egit.core.test/src/org/eclipse/egit/core/op/T0001_ConnectProviderOperationTest.java
@@ -40,8 +40,7 @@ public class T0001_ConnectProviderOperationTest extends GitTestCase {
project.getProject());
operation.run(null);
- // We are shared because we declared as shared
- assertTrue(RepositoryProvider.isShared(project.getProject()));
+ assertFalse(RepositoryProvider.isShared(project.getProject()));
assertTrue(!gitDir.exists());
}