### ----------------------------------------------------
### -- LWP::Simple
### -- Licenses: Artistic-2.0
### -- Authors: cosimo, niner, Raku community modules team
### -- File: t/get-404.t
### ----------------------------------------------------
use v6;
use Test;

use LWP::Simple;

plan 1;

# these tests will fail if this url stops returning 404 response
throws-like {
    LWP::Simple.get('http://www.example.com/404', :exception );
},
X::LWP::Simple::Response,
status => rx:i:s/404 Not Found/;


