diff options
Diffstat (limited to 'test/src/java/com/healthmarketscience/jackcess/IndexTest.java')
-rw-r--r-- | test/src/java/com/healthmarketscience/jackcess/IndexTest.java | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/test/src/java/com/healthmarketscience/jackcess/IndexTest.java b/test/src/java/com/healthmarketscience/jackcess/IndexTest.java index 5e67022..1e326c3 100644 --- a/test/src/java/com/healthmarketscience/jackcess/IndexTest.java +++ b/test/src/java/com/healthmarketscience/jackcess/IndexTest.java @@ -392,7 +392,8 @@ public class IndexTest extends TestCase { final Map<String,Object> row = c.getCurrentRow(); // Row order is arbitrary, so v2007 row order difference is valid - if (Database.FileFormat.V2007.equals(testDB.getExpectedFileFormat())) { + if (testDB.getExpectedFileFormat().ordinal() >= + Database.FileFormat.V2007.ordinal()) { DatabaseTest.checkTestDBTable1RowA(testDB, table, row); } else { DatabaseTest.checkTestDBTable1RowABCDEFG(testDB, table, row); |