Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMykola Nikishov2009-10-23 21:10:09 +0000
committerMykola Nikishov2009-11-06 09:35:22 +0000
commit75df95f31fe3d67df9bfc82b5c3b6b789a89a205 (patch)
tree15a1f7f929ab22cb9164c436024031f3cda636e4 /org.eclipse.egit.core.test
parent84b7cb118370462f213b0a58dc92f48cb276b7ca (diff)
downloadegit-75df95f31fe3d67df9bfc82b5c3b6b789a89a205.tar.gz
egit-75df95f31fe3d67df9bfc82b5c3b6b789a89a205.tar.xz
egit-75df95f31fe3d67df9bfc82b5c3b6b789a89a205.zip
Fix assert for a project in a non-existed git repository
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>
Diffstat (limited to 'org.eclipse.egit.core.test')
-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 dc3969f43..a5a9a1665 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());
}

Back to the top