Skip to content

Commit

Permalink
Fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
HosseinYousefi committed Dec 9, 2024
1 parent 7dc45f2 commit 1005240
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions pkgs/jnigen/test/summary_test.dart
Original file line number Diff line number Diff line change
Expand Up @@ -45,10 +45,9 @@ void registerCommonTests(Classes classes) {
expect(example.getMethod('getCodename').modifiers, notContainsStatic);
expect(example.getField('ON').modifiers, containsStatic);
expect(example.getField('codename').modifiers, notContainsStatic);
final nested = classes.getClassBySimpleName('Example\$Nested');
final nested = classes.getClassBySimpleName('Nested');
expect(nested.modifiers, containsStatic);
final nonStaticNested =
classes.getClassBySimpleName('Example\$NonStaticNested');
final nonStaticNested = classes.getClassBySimpleName('NonStaticNested');
expect(nonStaticNested.modifiers, notContainsStatic);
});

Expand Down

0 comments on commit 1005240

Please sign in to comment.