提交 24061850 authored 作者: Evgenij Ryazanov's avatar Evgenij Ryazanov

Fix commit ca891f02

上级 89c37cd3
...@@ -259,11 +259,11 @@ public class TestDateTimeUtils extends TestBase { ...@@ -259,11 +259,11 @@ public class TestDateTimeUtils extends TestBase {
ValueInterval expected = ValueInterval.from(qualifier, leading, remaining); ValueInterval expected = ValueInterval.from(qualifier, leading, remaining);
assertEquals(expected, DateTimeUtils.parseInterval(qualifier, negative, s)); assertEquals(expected, DateTimeUtils.parseInterval(qualifier, negative, s));
StringBuilder b = new StringBuilder(); StringBuilder b = new StringBuilder();
b.append("INTERVAL "); b.append("INTERVAL ").append('\'');
if (negative) { if (negative) {
b.append('-'); b.append('-');
} }
b.append('\'').append(full).append("' ").append(qualifier); b.append(full).append("' ").append(qualifier);
assertEquals(b.toString(), expected.getString()); assertEquals(b.toString(), expected.getString());
} }
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论