require Mouse;
use lib 't/lib';
-ok(!Mouse::is_class_loaded(), "is_class_loaded with no argument returns false");
+ok(!Mouse::is_class_loaded(undef), "is_class_loaded with undef returns false");
ok(!Mouse::is_class_loaded(''), "can't load the empty class");
ok(!Mouse::is_class_loaded(\"foo"), "can't load a class name reference??");
-throws_ok { Mouse::load_class() } qr/Invalid class name \(undef\)/;
+throws_ok { Mouse::load_class(undef) } qr/Invalid class name \(undef\)/;
throws_ok { Mouse::load_class('') } qr/Invalid class name \(\)/;
throws_ok { Mouse::load_class(\"foo") } qr/Invalid class name \(SCALAR\(\w+\)\)/;