### ----------------------------------------------------
### -- Sanity
### -- Licenses: Artistic-2.0
### -- Authors: Nick Logan
### -- File: t/01-basic.rakutest
### ----------------------------------------------------
use Test:ver<6.c+>;
use sanity;

subtest 'base' => {
    throws-like { 42.base("beer");  }, Exception;
    throws-like { 42.base("camel"); }, Exception;
}

subtest 'parse-base' => {
    throws-like { "🍻🍺🍻🍺🍻🍺".parse-base("beer");  }, Exception;
    throws-like { "🐫🐪🐫🐪🐫🐪".parse-base("camel"); }, Exception;
}

done-testing();


