Skip to content

Commit 79e6503

Browse files
committed
fix test
1 parent 44439e1 commit 79e6503

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

Sources/JExtractSwiftLib/FFM/FFMSwift2JavaGenerator+JavaBindingsPrinting.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -342,7 +342,7 @@ extension FFMSwift2JavaGenerator {
342342
* \(decl.signatureString)
343343
* }
344344
*/
345-
\(annotationsStr) \(modifiers) \(returnTy) \(methodName)(\(paramDecls.joined(separator: ", ")))
345+
\(annotationsStr)\(modifiers) \(returnTy) \(methodName)(\(paramDecls.joined(separator: ", ")))
346346
"""
347347
) { printer in
348348
if case .instance(_) = decl.functionSignature.selfParameter {

Tests/JExtractSwiftTests/UnsignedNumberTests.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ final class UnsignedNumberTests {
3737
);
3838
""",
3939
"""
40-
public static void unsignedChar(char arg) {
40+
public static void unsignedChar(@Unsigned char arg) {
4141
swiftjava_SwiftModule_unsignedChar__.call(arg);
4242
}
4343
""",
@@ -109,7 +109,7 @@ final class UnsignedNumberTests {
109109

110110
@Test("Import: return UInt32 (default)")
111111
func returnUnsignedIntDefault() throws {
112-
var config = Configuration()
112+
let config = Configuration()
113113

114114
try assertOutput(
115115
input: "public func returnUnsignedInt() -> UInt32",

0 commit comments

Comments
 (0)