Skip to content

Commit 589bc22

Browse files
committed
add content in test
1 parent 3333385 commit 589bc22

File tree

1 file changed

+37
-0
lines changed

1 file changed

+37
-0
lines changed

test/change_podfile.py

Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,9 @@ def initial():
4242
"""),
4343
"""
4444
import Masonry
45+
class A {
46+
let d = UIView().mas_top
47+
}
4548
""")
4649

4750
def addSwiftPod():
@@ -55,6 +58,10 @@ def addSwiftPod():
5558
"""
5659
import RxCocoa
5760
import Literal
61+
class A {
62+
let a: CGRect = [1,2,3,4]
63+
func dd() { NSObject().rx.observe(CGRect.self, "frame") }
64+
}
5865
""")
5966

6067
def revertToSourceCode():
@@ -67,7 +74,13 @@ def revertToSourceCode():
6774
"""),
6875
"""
6976
import RxCocoa
77+
import RxSwift
7078
import Literal
79+
class A {
80+
let a: CGRect = [1,2,3,4]
81+
let b = Observable.just(1)
82+
func dd() { NSObject().rx.observe(CGRect.self, "frame") }
83+
}
7184
""")
7285

7386
def addDifferentNamePod():
@@ -83,6 +96,11 @@ def addDifferentNamePod():
8396
import Masonry
8497
import Literal
8598
import Lottie
99+
class A {
100+
let a: CGRect = [1,2,3,4]
101+
let a2 = LOTAnimationView.self
102+
let d = UIView().mas_top
103+
}
86104
""")
87105

88106

@@ -99,6 +117,12 @@ def addSubPod():
99117
import Literal
100118
import Lottie
101119
import AFNetworking
120+
class A {
121+
let a: CGRect = [1,2,3,4]
122+
let a2 = LOTAnimationView.self
123+
let b = AFNetworkReachabilityManager()
124+
let d = UIView().mas_top
125+
}
102126
""")
103127

104128
def addVendoredLibPod():
@@ -113,6 +137,11 @@ def addVendoredLibPod():
113137
import Literal
114138
import AFNetworking
115139
import Instabug
140+
class A {
141+
let a: CGRect = [1,2,3,4]
142+
let b = AFNetworkReachabilityManager()
143+
let c = Instabug.self
144+
}
116145
""")
117146

118147
def deleteAPod():
@@ -124,6 +153,10 @@ def deleteAPod():
124153
"""
125154
import Literal
126155
import AFNetworking
156+
class A {
157+
let a: CGRect = [1,2,3,4]
158+
let b = AFNetworkReachabilityManager()
159+
}
127160
""")
128161

129162
def universalFlag():
@@ -137,6 +170,10 @@ def universalFlag():
137170
"""
138171
import Literal
139172
import AFNetworking
173+
class A {
174+
let a: CGRect = [1,2,3,4]
175+
let b = AFNetworkReachabilityManager()
176+
}
140177
""")
141178

142179
def multiplePlatforms():

0 commit comments

Comments
 (0)