use Test;
use lib $*PROGRAM.parent(2).add("packages/Test-Helpers");
use Test::Util;

plan 2;

# https://github.com/Raku/old-issue-tracker/issues/4687
{
    is_run 'say $*IN.words.unique',
        'cat dog cat dog bird dog Snake snake Snake',
        { out => "(cat dog bird Snake snake)\n", err => '', status => 0 },
    '$*IN.words.unique with no new line at the end must NOT hang';
}

# https://github.com/Raku/old-issue-tracker/issues/3326
{
    is_run 'say $*IN.get', 'Hello, World!',
        { out => "Hello, World!\n", err => '', status => 0 },
    '.get from $*IN works correctly';

}

# vim: expandtab shiftwidth=4
