Add DST in XDIFF tests

git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@5221 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
This commit is contained in:
2019-04-24 11:51:56 +00:00
parent 045fa701ff
commit 89a626c235

View File

@@ -181,8 +181,10 @@ to this document.
$xdiff = new xdiff ("unified");
$res = $xdiff->diff ($this->string1, $this->string2);
$date = date ("Y-m-d H:i:s.u00");
$this->assertSame ($res, "--- Original ${date}0 +0100
+++ New ${date}1 +0100
// DST must answer +0200 in winter and +0100 in summer
$dst = date ("O");
$this->assertSame ($res, "--- Original ${date}0 $dst
+++ New ${date}1 $dst
@@ -0,0 +1,6 @@
+This is an important
+notice! It should