### ----------------------------------------------------
### -- Linenoise
### -- Licenses: MIT
### -- Authors: 
### -- File: t/01-history.rakutest
### ----------------------------------------------------
use Test;

plan 1;

use Linenoise;

my $history-str = "say 33";
linenoiseHistoryAdd($history-str);
my $history-path = "$*TMPDIR/linenoise-history.txt";
linenoiseHistorySave($history-path);
is($history-path.IO.slurp.chomp,$history-str, "History saves OK");

# vim: expandtab shiftwidth=4


