tests: gstdatetime: move gst_date_time_new* and time() calls closer
authorJordan Petridis <jordan@centricular.com>
Fri, 11 Jan 2019 10:32:49 +0000 (12:32 +0200)
committerJordan Petridis <jordan@centricular.com>
Fri, 11 Jan 2019 10:54:54 +0000 (12:54 +0200)
commit20ee2db955be2cf67e2fa1e07468809069d4cbb8
treeb10e5b4cbf819bde86360e7075549b91595bd49c
parent37edc474e3dc292d53e64f9415536da1741ecede
tests: gstdatetime: move gst_date_time_new* and time() calls closer

While extremelly rare, time and gst_date_time_new_* will have
diff values and potentially trigger an assertion. Thus move
the calls as closely together as possible to mitigate this.
tests/check/gst/gstdatetime.c