]> source.dussan.org Git - jgit.git/commitdiff
document empty blocks in StashApplyCommandTest 44/12544/2
authorTomasz Zarna <tomasz.zarna@tasktop.com>
Mon, 6 May 2013 17:27:42 +0000 (19:27 +0200)
committerGerrit Code Review @ Eclipse.org <gerrit@eclipse.org>
Thu, 13 Jun 2013 14:25:43 +0000 (10:25 -0400)
Change-Id: I5b49bd00b00b86584b912fc5f503abf29db0f56e

org.eclipse.jgit.test/tst/org/eclipse/jgit/api/StashApplyCommandTest.java

index a81beb009aa4ecd2f38199e359cf5279d023fb58..16e80f1bfa5ac923bb621a02ab61cd5aa1af003d 100644 (file)
@@ -368,6 +368,7 @@ public class StashApplyCommandTest extends RepositoryTestCase {
                        git.stashApply().call();
                        fail("Exception not thrown");
                } catch (StashApplyFailureException e) {
+                       // expected
                }
                assertEquals("content3", read(PATH));
        }
@@ -398,6 +399,7 @@ public class StashApplyCommandTest extends RepositoryTestCase {
                        git.stashApply().call();
                        fail("Expected conflict");
                } catch (StashApplyFailureException e) {
+                       // expected
                }
                Status status = new StatusCommand(db).call();
                assertEquals(1, status.getConflicting().size());
@@ -446,6 +448,7 @@ public class StashApplyCommandTest extends RepositoryTestCase {
                        git.stashApply().call();
                        fail("Exception not thrown");
                } catch (StashApplyFailureException e) {
+                       // expected
                }
                assertEquals("content2", read(PATH));
        }