fix testcase

This commit is contained in:
高铁
2019-10-05 14:17:34 +08:00
parent 38efdf375f
commit c72aae5496
2 changed files with 2 additions and 2 deletions
@@ -54,7 +54,7 @@ public class PGInsertTest12_issue_2192 extends PGTest {
assertEquals("INSERT INTO test1 xx (tid, tid1, tvalue)\n" +
"VALUES (1, 1, 1), \n" +
"(2, 2, 2)\n" +
"ON CONFLICT (tid, tid1) UPDATE SET tvalue = xx.tvalue + excluded.tvalue;", stmt.toString());
"ON CONFLICT (tid, tid1) DO UPDATE SET tvalue = xx.tvalue + excluded.tvalue;", stmt.toString());
}
}
@@ -51,7 +51,7 @@ public class PGInsertTest7 extends PGTest {
assertEquals("INSERT INTO test (k, v)\n" +
"VALUES (1, 2)\n" +
"ON CONFLICT (k) UPDATE SET v = EXCLUDED.v;", stmt.toString());
"ON CONFLICT (k) DO UPDATE SET v = EXCLUDED.v;", stmt.toString());
}
}