瀏覽代碼

Merge "document empty blocks in StashApplyCommandTest"

tags/v3.1.0.201309270735-rc1
Matthias Sohn 11 年之前
父節點
當前提交
4b68f2a532
共有 1 個文件被更改,包括 3 次插入0 次删除
  1. 3
    0
      org.eclipse.jgit.test/tst/org/eclipse/jgit/api/StashApplyCommandTest.java

+ 3
- 0
org.eclipse.jgit.test/tst/org/eclipse/jgit/api/StashApplyCommandTest.java 查看文件

@@ -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));
}

Loading…
取消
儲存