diff --git a/thermion_dart/test/helpers.dart b/thermion_dart/test/helpers.dart index 6f110772..6ace085c 100644 --- a/thermion_dart/test/helpers.dart +++ b/thermion_dart/test/helpers.dart @@ -83,7 +83,8 @@ class TestHelper { outDir = Directory("$testDir/output/${dir}"); outDir.createSync(recursive: true); if (Platform.isMacOS) { - DynamicLibrary.open('${testDir}/libThermionTextureSwift.dylib'); + DynamicLibrary.open('${testDir}/generated/objective_c.dylib'); + DynamicLibrary.open('${testDir}/generated/libThermionTextureSwift.dylib'); } } @@ -190,7 +191,7 @@ class TestHelper { /// Future createTexture(int width, int height, {bool depth = false}) async { - final object = ThermionTextureSwift.new$(); + final object = ThermionTextureSwift(); object.initWithWidth_height_isDepth_(width, height, depth); return object; }