Permalink
Browse files

use OS-insensitive path assertion. (closes #127)

  • Loading branch information...
1 parent 2c39f22 commit 805ecbc0de7b88ef93ec6a9b1e5367a4e422a49d Robert Newson committed Jul 14, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/test/java/com/github/rnewson/couchdb/lucene/ConfigTest.java
@@ -38,7 +38,7 @@ public void testGetDir() {
assertTrue(dir.exists());
assertTrue(dir.canRead());
assertTrue(dir.canWrite());
- assertEquals("target/indexes", dir.getPath());
+ assertEquals(new File("target", "indexes"), dir);
} catch (ConfigurationException ce) {
fail("ConfigurationException shouldn't have been thrown."
+ ce.getMessage());

0 comments on commit 805ecbc

Please sign in to comment.