Skip to content

Commit b106d86

Browse files
committed
timestamp[] added to integration tests
1 parent f027852 commit b106d86

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/dpq2/conv/native_tests.d

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -288,6 +288,7 @@ public void _integration_test( string connParam ) @system
288288
C!(PGjson[])([Json(["foo": Json(42)])], "json[]", `'{"{\"foo\":42}"}'`);
289289
C!(PGuuid[])([UUID("8b9ab33a-96e9-499b-9c36-aad1fe86d640")], "uuid[]", "'{8b9ab33a-96e9-499b-9c36-aad1fe86d640}'");
290290
C!(PGline[])([Line(1,2,3), Line(4,5,6)], "line[]", `'{"{1,2,3}","{4,5,6}"}'`);
291+
C!(PGtimestamp[])([PGtimestamp(DateTime(1997, 12, 17, 7, 37, 16), dur!"usecs"(12))], "timestamp[]", `'{"1997-12-17 07:37:16.000012"}'`);
291292
C!(Nullable!(int[]))(Nullable!(int[]).init, "int[]", "NULL");
292293
C!(Nullable!(int[]))(Nullable!(int[])([1,2,3]), "int[]", "'{1,2,3}'");
293294
}

0 commit comments

Comments
 (0)