diff options
Diffstat (limited to 't')
-rw-r--r-- | t/fcp-01.t | 8 |
1 files changed, 8 insertions, 0 deletions
@@ -103,4 +103,12 @@ is($calls{stuff},3,'called ok 4'); is($wr_file->slurp,"gino\n${wr_contents}",'written ok 3 (ref)'); is_deeply($fc->get($wr_file->stringify),$wr_contents,'no stringification'); ok(! exists $calls{rstuff},'no reader call'); + +$fc->del_writer(qr{\.stuff$}); +$wr_contents='buh'; +$fc->put($wr_file->stringify,$wr_contents); +is($calls{rstuff},1,'called reader'); +is($fc->get($wr_file->stringify), + 'bad', + 'parsed after put'); } |