ReviewsDataLocatorTest.testFilePath fails on Windows in Maven build

Change-Id: I92eb0a4ee4bdc43cb70f5442fe755eb06db444c0
Signed-off-by: Tomasz Zarna <tomasz.zarna@tasktop.com>
diff --git a/org.eclipse.mylyn.reviews.core.tests/src/org/eclipse/mylyn/reviews/core/spi/remote/ReviewsDataLocatorTest.java b/org.eclipse.mylyn.reviews.core.tests/src/org/eclipse/mylyn/reviews/core/spi/remote/ReviewsDataLocatorTest.java
index bf2378a..0d695f5 100644
--- a/org.eclipse.mylyn.reviews.core.tests/src/org/eclipse/mylyn/reviews/core/spi/remote/ReviewsDataLocatorTest.java
+++ b/org.eclipse.mylyn.reviews.core.tests/src/org/eclipse/mylyn/reviews/core/spi/remote/ReviewsDataLocatorTest.java
@@ -1,5 +1,5 @@
 /*******************************************************************************
- * Copyright (c) 2011 GitHub Inc. and others.
+ * Copyright (c) 2011, 2013 GitHub Inc. and others.
  * All rights reserved. This program and the accompanying materials
  * are made available under the terms of the Eclipse Public License v1.0
  * which accompanies this distribution, and is available at
@@ -36,9 +36,10 @@
 
 	@Test
 	public void testFilePath() {
-		String testPath = FileUtils.getTempDirectory().getAbsolutePath();
-		assertThat(reviewDataLocator.getFilePath("Parent", "Class", "123", "txt").toPortableString(), is(testPath
-				+ "/reviews_bin/Parent/Class/123.txt"));
+		IPath testPath = Path.fromOSString(FileUtils.getTempDirectory().getAbsolutePath());
+		testPath = testPath.append("/reviews_bin/Parent/Class/123.txt");
+
+		assertThat(reviewDataLocator.getFilePath("Parent", "Class", "123", "txt"), is(testPath));
 	}
 
 	@Test