Skip to content

Commit

Permalink
Remove outdated suppress-warnings in test
Browse files Browse the repository at this point in the history
  • Loading branch information
Col-E committed Jan 11, 2025
1 parent cf136f8 commit 58eab83
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -321,8 +321,7 @@ void directoryNodesCanValidateParentChildRelationsFromPathValues() {

@Nested
class Comparison {
@Test // ignore warning about 'compareTo' on self
@SuppressWarnings("all")
@Test
void compareToSelfIsZero() {
// Self comparison or equal items should always be 0
assertThatComparable(p1).isEqualTo(p1);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ static void setup() throws IOException {
// Setup workspace
classToDecompile = TestClassUtils.fromRuntimeClass(ClassWithFieldsAndMethods.class);
workspace = TestClassUtils.fromBundle(TestClassUtils.fromClasses(classToDecompile));
recaf.get(WorkspaceManager.class).setCurrent(workspace);
workspaceManager.setCurrent(workspace);

// Grab services
commentManager = recaf.get(CommentManager.class);
Expand Down

0 comments on commit 58eab83

Please sign in to comment.