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 {
241
241
242
242
@Test ( " Import: public func withBuffer(body: (UnsafeRawBufferPointer) -> Int) " )
243
243
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 )
247
247
st. log. logLevel = . error
248
248
249
249
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
19
19
ENV LANGUAGE=en_US.UTF-8
20
20
21
21
COPY install_jdk.sh .
22
- COPY install_swiftly.sh .
23
22
24
23
# JDK dependency
25
24
RUN bash -xc 'JDK_VENDOR=Corretto ./install_jdk.sh'
26
25
ENV JAVA_HOME="/usr/lib/jvm/default-jdk"
27
26
ENV 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