### ----------------------------------------------------
### -- XML::XPath
### -- Licenses: Artistic-2.0
### -- Authors: Martin Barth (ufobat)
### -- File: t/49_flat_to_list.t
### ----------------------------------------------------
use v6.c;

use Test;
use XML::XPath;

my $x = XML::XPath.new( xml => '<foo><bar/><bar/></foo>');
is-deeply $x.find('/foo/bar', :to-list), $x.find('/foo/bar', :to-list).flat, 'is not item context';

done-testing;



