From: Peter Rabbitson Date: Wed, 25 Nov 2009 23:24:23 +0000 (+0000) Subject: Looks like we nailed a todo X-Git-Tag: v0.08116~109^2~3 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=7d409be1b9f0c5386542aa03f6d23742354c844b;p=dbsrgits%2FDBIx-Class.git Looks like we nailed a todo --- diff --git a/t/inflate/core.t b/t/inflate/core.t index 8cc36cc..9792951 100644 --- a/t/inflate/core.t +++ b/t/inflate/core.t @@ -64,14 +64,8 @@ eval { $cd->set_inflated_column('year', \'year + 1') }; ok(!$@, 'set_inflated_column to "year + 1"'); $cd->update; -TODO: { - local $TODO = 'this was left in without a TODO - should it work?'; - - lives_ok (sub { - $cd->store_inflated_column('year', \'year + 1'); - is_deeply( $cd->year, \'year + 1', 'deflate ok' ); - }, 'store_inflated_column to "year + 1"'); -} +$cd->store_inflated_column('year', \'year + 1'); +is_deeply( $cd->year, \'year + 1', 'scalarref deflate passthrough ok' ); $cd = $rs->find(3); is( $cd->year->year, $before_year+1, 'deflate ok' );