#!/usr/bin/perl -w
use strict;
-use blib;
+use lib 'lib';
use Test::More tests => 6;
ok( $out->init, 'init' );
-my $ds = {
- '_rows' => [
+my $ds = { '_rows' => {
+ 'test' => [
{ foo => 42 },
{ foo => 1, bar => 11 },
{ foo => 99, baz => 'text' },
],
-};
+} };
ok( $out->add( 42, $ds ), 'add 42' );