Browse Source

ConfigTest: Remove redundant assignment

Change-Id: Ia913dbe6b7ad4b7000525fda8ca08cbc8dd87da6
Signed-off-by: David Pursehouse <david.pursehouse@gmail.com>
stable-4.10
David Pursehouse 7 years ago
parent
commit
c60814d1d5
  1. 3
      org.eclipse.jgit.test/tst/org/eclipse/jgit/lib/ConfigTest.java

3
org.eclipse.jgit.test/tst/org/eclipse/jgit/lib/ConfigTest.java

@ -837,8 +837,7 @@ public class ConfigTest {
File config = tmp.newFile("config");
String fooBar = "[foo]\nbar=true\n";
String fooPlus = fooBar;
Files.write(config.toPath(), fooPlus.getBytes());
Files.write(config.toPath(), fooBar.getBytes());
Config parsed = parse("[include]\npath=" + pathToString(config) + "\n");
assertFalse(parsed.getBoolean("foo", "bar", false));

Loading…
Cancel
Save