mirror of
https://github.com/querydsl/querydsl.git
synced 2026-06-13 21:01:01 +08:00
#645255 : fixed hardcoded path separator
This commit is contained in:
parent
c2a2d39be6
commit
03ab886a78
@ -108,13 +108,13 @@ public class MySQLQueryTest {
|
||||
@Test
|
||||
public void testIntoOutfile() {
|
||||
query.intoOutfile(new File("target/out"));
|
||||
assertEquals("select survey.NAME from SURVEY survey order by survey.NAME asc INTO OUTFILE 'target/out'", toString(query));
|
||||
assertEquals("select survey.NAME from SURVEY survey order by survey.NAME asc INTO OUTFILE 'target" + File.separator + "out'", toString(query));
|
||||
}
|
||||
|
||||
@Test
|
||||
public void testIntoDumpfile() {
|
||||
query.intoDumpfile(new File("target/out"));
|
||||
assertEquals("select survey.NAME from SURVEY survey order by survey.NAME asc INTO DUMPFILE 'target/out'", toString(query));
|
||||
assertEquals("select survey.NAME from SURVEY survey order by survey.NAME asc INTO DUMPFILE 'target" + File.separator + "out'", toString(query));
|
||||
}
|
||||
|
||||
@Test
|
||||
|
||||
Loading…
Reference in New Issue
Block a user