Introduce GOVERNANCE document and empty RESOLUTIONS file.
[dbsrgits/DBIx-Class.git] / t / cdbi / early_column_heisenbug.t
CommitLineData
c0329273 1BEGIN { do "./t/lib/ANFANG.pm" or die ( $@ || $! ) }
83eef562 2use DBIx::Class::Optional::Dependencies -skip_all_without => 'cdbicompat';
3
96eab6f8 4use strict;
4a233f30 5use warnings;
96eab6f8 6
7use Test::More;
8
96eab6f8 9{
10 package Thing;
11 use base qw(DBIx::Class::CDBICompat);
12}
13
14{
15 package Stuff;
16 use base qw(DBIx::Class::CDBICompat);
17}
18
19# There was a bug where looking at a column group before any were
20# set would cause them to be shared across classes.
21is_deeply [Stuff->columns("Essential")], [];
22Thing->columns(Essential => qw(foo bar baz));
23is_deeply [Stuff->columns("Essential")], [];
24
89bddb49 25done_testing;