use of com.torodb.kvdocument.values.heap.StringKvString in project torodb by torodb.
the class PostgreSqlValueToCopyConverterTest method testStringWithSpecials.
@Test
public void testStringWithSpecials() {
new StringKvString("a string with a \\b, \\f, \\n, \\r, \\t, \\v, \\1, \\12, \\123, \\xa, \\xff").accept(visitor, sb);
assertEquals("a string with a \\\\b, \\\\f, \\\\n, \\\\r, \\\\t, \\\\v, \\\\1, \\\\12, \\\\123, \\\\xa, \\\\xff", sb.toString());
}
Aggregations