Skip to content

Commit

Permalink
fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
ktoso committed Nov 12, 2024
1 parent a8a027c commit 46fed47
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 10 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -20,14 +20,6 @@

public class SwiftRuntimeMetadataTest {

@BeforeEach
void setUp() {
System.out.println("Java path ====== '" + SwiftKit.getJavaLibraryPath() + "'");
for (var path : SwiftKit.getJavaLibraryPath().split(":")) {
System.out.println(" " + path);
}
}

@Test
public void integer_layout_metadata() {
SwiftAnyType swiftType = SwiftKit.getTypeByMangledNameInEnvironment("Si").get();
Expand Down
4 changes: 2 additions & 2 deletions Tests/JExtractSwiftTests/MethodThunkTests.swift
Original file line number Diff line number Diff line change
Expand Up @@ -39,13 +39,13 @@ final class MethodThunkTests {
[
"""
@_cdecl("swiftjava_FakeModule_globalFunc_a_b")
public func swiftjava_FakeModule_globalFunc_a_b(a: Int32, b: Int64) -> Swift.Void /* Void */ {
public func swiftjava_FakeModule_globalFunc_a_b(a: Int32, b: Int64) /* Void */ {
globalFunc(a: a, b: b)
}
""",
"""
@_cdecl("swiftjava_FakeModule_globalFunc_a_b$1")
public func swiftjava_FakeModule_globalFunc_a_b$1(a: Double, b: Int64) -> Swift.Void /* Void */ {
public func swiftjava_FakeModule_globalFunc_a_b$1(a: Double, b: Int64) /* Void */ {
globalFunc(a: a, b: b)
}
"""
Expand Down

0 comments on commit 46fed47

Please sign in to comment.