Skip to content

Commit

Permalink
fix: FocessScheduler lib problem
Browse files Browse the repository at this point in the history
  • Loading branch information
MidCoard committed Jan 6, 2024
1 parent 7474d71 commit a6644e2
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/test/java/top/focess/qq/test/TestFramework.java
Original file line number Diff line number Diff line change
Expand Up @@ -242,8 +242,7 @@ void testExit() {
assertNotEquals(0, Plugin.getPlugins().size());
FocessQQ.exit();
System.out.println(AScheduler.getSchedulers());
assertEquals(1, AScheduler.getSchedulers().size());
// why 1, because the scheduler in FocessCallback is not closed
assertEquals(0, AScheduler.getSchedulers().size());
assertEquals(0, Command.getCommands().size());
assertEquals(0, Plugin.getPlugins().size());
assertEquals(0, listenerHandler.size());
Expand Down

0 comments on commit a6644e2

Please sign in to comment.