### ----------------------------------------------------
### -- Hyperscript
### -- Licenses: MIT
### -- Authors: Jack Miles
### -- File: t/07-classes-set.rakutest
### ----------------------------------------------------
use v6.d;

use Test;
use Hyperscript;
constant &h = &hyperscript;

constant $expected = '<div class="123 abc"></div>';

plan 1;

my $results =
  h('div', :class<abc 123 abc>) &
  h('div', :class('abc 123 abc')) &
  h('.abc.123.abc');

is $results, $expected, 'produces class set';

done-testing;


