summaryrefslogtreecommitdiffstats
path: root/t/basic.t
diff options
context:
space:
mode:
Diffstat (limited to 't/basic.t')
-rw-r--r--t/basic.t10
1 files changed, 5 insertions, 5 deletions
diff --git a/t/basic.t b/t/basic.t
index 93e0772..9cf56a8 100644
--- a/t/basic.t
+++ b/t/basic.t
@@ -39,14 +39,14 @@ is(eval '$Foo::FOO', 10, "package global exists with new value");
ok(!defined(eval '$Foo::BAR'), "other package global doesn't exist");
is(eval '$Foo::BAZ', 30, "third package global exists");
-try { require UseFake } catch { "We expect this to fail, that's alright and happens sometimes" };
+try { require Bar } catch { "We expect this to fail, that's alright and happens sometimes" };
Class::Refresh->refresh;
-ok(exists $INC{'UseFake.pm'}, "Failed package \$INC value exists");
-ok(!defined $INC{'UseFake.pm'}, "Failed package \$INC value is not defined after failed load");
+ok(exists $INC{'Bar.pm'}, "Failed package \$INC value exists");
+ok(!defined $INC{'Bar.pm'}, "Failed package \$INC value is not defined after failed load");
# Now do the same thing to validate that there's no error in repopulating %CACHE
isnt(exception{ Class::Refresh->refresh }, "Second refresh is not an error");
-ok(exists $INC{'UseFake.pm'}, "Failed package \$INC value exists: second attempt");
-ok(!defined $INC{'UseFake.pm'}, "Failed package \$INC value is not defined after failed load: second attempt");
+ok(exists $INC{'Bar.pm'}, "Failed package \$INC value exists: second attempt");
+ok(!defined $INC{'Bar.pm'}, "Failed package \$INC value is not defined after failed load: second attempt");
done_testing;