453627 Fixed FileSystem test for nanosecond filesystems

This commit is contained in:
Greg Wilkins 2014-12-04 15:02:12 +01:00
parent a04a576c45
commit 1ff23803f7
1 changed files with 1 additions and 2 deletions

View File

@ -52,7 +52,6 @@ import org.eclipse.jetty.util.CollectionAssert;
import org.hamcrest.BaseMatcher;
import org.hamcrest.Description;
import org.hamcrest.Matcher;
import org.junit.Assert;
import org.junit.Rule;
import org.junit.Test;
import org.junit.runner.RunWith;
@ -266,7 +265,7 @@ public class FileSystemResourceTest
try (Resource base = newResource(testdir.getDir()))
{
Resource res = base.addPath("foo");
assertThat("foo.lastModified",res.lastModified(),is(expected));
assertThat("foo.lastModified",res.lastModified()/1000*1000,is(expected));
}
}