### ----------------------------------------------------
### -- Intl::LanguageTag
### -- Licenses: Artistic-2.0
### -- Authors: Matthew Stephen Stuckwisch
### -- File: t/00-sanity.rakutest
### ----------------------------------------------------
=begin pod
This test checks to make sure that regardless of how one C<use>s this module
the exact same class is being used.
=end pod

use Intl::LanguageTag;
use Test;

my $short;
{
    use Intl::LanguageTag;
    $short := LanguageTag;
}

my $long;
{
    use Intl::LanguageTag::BCP47;
    $long := LanguageTag::BCP47;
}

ok ($short =:= $long);


done-testing;


