diff options
author | David Pursehouse <david.pursehouse@gmail.com> | 2017-09-03 19:10:19 +0900 |
---|---|---|
committer | Matthias Sohn <matthias.sohn@sap.com> | 2017-09-05 23:30:18 +0200 |
commit | 17e849145ccc0397459e3d1362e8f7ce81664f03 (patch) | |
tree | aade8e6e98db0e3e3d2ce72c5cd28399fa396de1 /org.eclipse.jgit.test | |
parent | f9ac86fde22c1e2e843a41e65abca4eb8daa1263 (diff) | |
download | jgit-17e849145ccc0397459e3d1362e8f7ce81664f03.tar.gz jgit-17e849145ccc0397459e3d1362e8f7ce81664f03.zip |
SubmoduleConfigTest: Add additional tests in fetchRecurseToConfigValue
Add tests for "true" and "false" matching to "YES" and "NO".
Change-Id: I58223855022871ac4b21bd34ff6a9cd00fce30a1
Signed-off-by: David Pursehouse <david.pursehouse@gmail.com>
Diffstat (limited to 'org.eclipse.jgit.test')
-rw-r--r-- | org.eclipse.jgit.test/tst/org/eclipse/jgit/lib/SubmoduleConfigTest.java | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/org.eclipse.jgit.test/tst/org/eclipse/jgit/lib/SubmoduleConfigTest.java b/org.eclipse.jgit.test/tst/org/eclipse/jgit/lib/SubmoduleConfigTest.java index f5b0c5b0c1..fb8dec51d3 100644 --- a/org.eclipse.jgit.test/tst/org/eclipse/jgit/lib/SubmoduleConfigTest.java +++ b/org.eclipse.jgit.test/tst/org/eclipse/jgit/lib/SubmoduleConfigTest.java @@ -87,5 +87,7 @@ public class SubmoduleConfigTest { public void fetchRecurseToConfigValue() { assertEquals("on-demand", FetchRecurseSubmodulesMode.ON_DEMAND.toConfigValue()); + assertEquals("true", FetchRecurseSubmodulesMode.YES.toConfigValue()); + assertEquals("false", FetchRecurseSubmodulesMode.NO.toConfigValue()); } } |