diff options
| author | Mykola Nikishov | 2009-10-23 21:10:09 +0000 |
|---|---|---|
| committer | Mykola Nikishov | 2009-11-06 09:35:22 +0000 |
| commit | 75df95f31fe3d67df9bfc82b5c3b6b789a89a205 (patch) | |
| tree | 15a1f7f929ab22cb9164c436024031f3cda636e4 | |
| parent | 84b7cb118370462f213b0a58dc92f48cb276b7ca (diff) | |
| download | egit-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>
| -rw-r--r-- | org.eclipse.egit.core.test/src/org/eclipse/egit/core/op/T0001_ConnectProviderOperationTest.java | 3 |
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 dc3969f43a..a5a9a1665a 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()); } |
