Skip to content

Commit f29085b

Browse files
committed
fix test
1 parent 8fc1e84 commit f29085b

2 files changed

Lines changed: 2 additions & 6 deletions

File tree

OpenDocumentReader.xcodeproj/project.pbxproj

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -702,7 +702,6 @@
702702
CODE_SIGN_STYLE = Automatic;
703703
DEVELOPMENT_TEAM = 5LS6X97G6J;
704704
INFOPLIST_FILE = OpenDocumentReaderTests/Info.plist;
705-
IPHONEOS_DEPLOYMENT_TARGET = 12.0;
706705
LD_RUNPATH_SEARCH_PATHS = (
707706
"$(inherited)",
708707
"@executable_path/Frameworks",
@@ -724,7 +723,6 @@
724723
CODE_SIGN_STYLE = Automatic;
725724
DEVELOPMENT_TEAM = 5LS6X97G6J;
726725
INFOPLIST_FILE = OpenDocumentReaderTests/Info.plist;
727-
IPHONEOS_DEPLOYMENT_TARGET = 12.0;
728726
LD_RUNPATH_SEARCH_PATHS = (
729727
"$(inherited)",
730728
"@executable_path/Frameworks",
@@ -746,7 +744,6 @@
746744
CODE_SIGN_STYLE = Automatic;
747745
DEVELOPMENT_TEAM = 5LS6X97G6J;
748746
INFOPLIST_FILE = OpenDocumentReaderTests/Info.plist;
749-
IPHONEOS_DEPLOYMENT_TARGET = 12.0;
750747
LD_RUNPATH_SEARCH_PATHS = (
751748
"$(inherited)",
752749
"@executable_path/Frameworks",
@@ -768,7 +765,6 @@
768765
CODE_SIGN_STYLE = Automatic;
769766
DEVELOPMENT_TEAM = 5LS6X97G6J;
770767
INFOPLIST_FILE = OpenDocumentReaderTests/Info.plist;
771-
IPHONEOS_DEPLOYMENT_TARGET = 12.0;
772768
LD_RUNPATH_SEARCH_PATHS = (
773769
"$(inherited)",
774770
"@executable_path/Frameworks",

OpenDocumentReaderTests/OpenDocumentReaderTests.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -56,13 +56,13 @@ class OpenDocumentReaderTests: XCTestCase {
5656
var translatePath = URL(fileURLWithPath: NSTemporaryDirectory())
5757
translatePath.appendPathComponent("translate.html")
5858

59-
coreWrapper.translate(saveURL?.path, into: translatePath.path, at: 0, with: nil, editable: true)
59+
coreWrapper.translate(saveURL?.path, into: translatePath.path, with: nil, editable: true)
6060
XCTAssertNil(coreWrapper.errorCode)
6161

6262
var backTranslatePath = URL(fileURLWithPath: NSTemporaryDirectory())
6363
backTranslatePath.appendPathComponent("backtranslate.html")
6464

65-
let diff = "{\"modifiedText\":{\"3\":\"This is a simple test document to demonstrate the DocumentLoadewwwwr example!\"}}"
65+
let diff = "{\"modifiedText\":{\"/child:3/child:0\":\"This is a simple test document to demonstrate the DocumentLoaderwwww example!\"}}"
6666

6767
coreWrapper.backTranslate(diff, into: backTranslatePath.path)
6868
XCTAssertNil(coreWrapper.errorCode)

0 commit comments

Comments
 (0)