Loader changes

This commit is contained in:
Phillip Webb
2013-09-19 10:51:15 -07:00
committed by Dave Syer
parent 053c072155
commit e9fd7c96b8
4 changed files with 252 additions and 280 deletions

View File

@@ -16,6 +16,8 @@
package org.springframework.boot.loader;
import java.io.File;
import org.junit.After;
import org.junit.Test;
import org.springframework.test.util.ReflectionTestUtils;
@@ -40,7 +42,8 @@ public class PropertiesLauncherTests {
@Test
public void testDefaultHome() {
assertEquals(System.getProperty("user.dir"), this.launcher.getHomeDirectory());
assertEquals(new File(System.getProperty("user.dir")),
this.launcher.getHomeDirectory());
}
@Test