Test that DateTime objects can safely be updated twice (which is what triggers
authorMichael G Schwern <mschwern@cpan.org>
Wed, 13 Feb 2008 07:06:42 +0000 (23:06 -0800)
committerMichael G Schwern <mschwern@cpan.org>
Wed, 13 Feb 2008 09:07:34 +0000 (09:07 +0000)
commit4c9f72c1b6c90bdba16fbaa481c5eb77f73a43e6
treebd3e9479f188644ac2f5609c2f692302af9b5609
parent2801ef58d51e890ce4449c6d606f8909e9e57cd1
Test that DateTime objects can safely be updated twice (which is what triggers
the equality check).

Remove the stringification to shield broken equality since DateTime seems
to work.

This also shuts up a warning in GetSet when you set to an undef value.
Test that.

Change from bitwise xor to regular xor since bitwise is overkill and nobody
knows what ^ is.
lib/DBIx/Class/CDBICompat/GetSet.pm
lib/DBIx/Class/Row.pm
t/cdbi-t/set_to_undef.t [new file with mode: 0644]
t/cdbi-t/set_vs_DateTime.t