### ----------------------------------------------------
### -- Facter
### -- Licenses: 
### -- Authors: 
### -- File: t/to-hash.t
### ----------------------------------------------------
use v6;
use Test;
use Facter;

my $facter = Facter.new;
ok($facter, "Facter loaded");

my %facts = $facter.to_hash;

ok(%facts, 'Facter.to_hash call produces some result');

is(%facts<perl6os>, $*OS, 'perl6os fact has the correct value');

done;



