Test only instance of PYSON DateTime with invalid start

Both instances tested can have different values as they are instantiate at
different time.

issue8829
This commit is contained in:
Cédric Krier committed 2019-11-16 15:57:56 +01:00
1 parent eff2fc27ca
commit c0a592ec1f
1 file changed
+2 -3
+2 -3
View File
@@ -951,9 +951,8 @@
undefined, undefined, undefined, undefined,
new Sao.PYSON.Eval('foo')));
QUnit.strictEqual(new Sao.PYSON.Decoder(
{'foo': 'bar'}).decode(eval_).valueOf(),
Sao.DateTime().valueOf());
QUnit.ok(new Sao.PYSON.Decoder(
{'foo': 'bar'}).decode(eval_).isDateTime);
});
QUnit.test('PYSON TimeDelta', function() {