File tree Expand file tree Collapse file tree 3 files changed +3
-37
lines changed Expand file tree Collapse file tree 3 files changed +3
-37
lines changed Original file line number Diff line number Diff line change @@ -241,9 +241,9 @@ final class FuncCallbackImportTests {
241241
242242 @Test ( " Import: public func withBuffer(body: (UnsafeRawBufferPointer) -> Int) " )
243243 func func_withBuffer_body( ) throws {
244- let st = Swift2JavaTranslator (
245- swiftModuleName : " __FakeModule "
246- )
244+ var config = Configuration ( )
245+ config . swiftModule = " __FakeModule "
246+ let st = Swift2JavaTranslator ( config : config )
247247 st. log. logLevel = . error
248248
249249 try st. analyze ( file: " Fake.swift " , text: Self . class_interfaceFile)
Original file line number Diff line number Diff line change @@ -19,12 +19,8 @@ ENV LANG=en_US.UTF-8
1919ENV LANGUAGE=en_US.UTF-8
2020
2121COPY install_jdk.sh .
22- COPY install_swiftly.sh .
2322
2423# JDK dependency
2524RUN bash -xc 'JDK_VENDOR=Corretto ./install_jdk.sh'
2625ENV JAVA_HOME="/usr/lib/jvm/default-jdk"
2726ENV PATH="$PATH:/usr/lib/jvm/default-jdk/bin"
28-
29- # Install Swift with Swiftly
30- # RUN bash -xc './install_swiftly.sh'
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments