Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
liamappelbe committed Dec 19, 2024
1 parent e10f412 commit 02de189
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion pkgs/ffigen/test/native_objc_test/global_native_test.dart
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ void main() {

Pointer<ObjCObject> globalObjectRefCountingInner() {
globalObject = NSObject.new1();
final obj1raw = globalObject.ref.pointer;
final obj1raw = globalObject!.ref.pointer;
expect(objectRetainCount(obj1raw), greaterThan(0));
return obj1raw;
}
Expand Down
2 changes: 1 addition & 1 deletion pkgs/ffigen/test/native_objc_test/global_test.dart
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ void main() {

Pointer<ObjCObject> globalObjectRefCountingInner() {
lib.globalObject = NSObject.new1();
final obj1raw = lib.globalObject.ref.pointer;
final obj1raw = lib.globalObject!.ref.pointer;
expect(objectRetainCount(obj1raw), greaterThan(0));
return obj1raw;
}
Expand Down

0 comments on commit 02de189

Please sign in to comment.