@@ -23,7 +23,6 @@ describe("Awesome-slot", function()
23
23
target = target ,
24
24
signal = " signal" ,
25
25
slot = function () end ,
26
- slot_params = { key = " value" },
27
26
}
28
27
29
28
assert .is_not_nil (s )
@@ -36,7 +35,6 @@ describe("Awesome-slot", function()
36
35
target = target ,
37
36
signal = " signal" ,
38
37
slot = function () end ,
39
- slot_params = { key = " value" },
40
38
}
41
39
42
40
slot .remove (s )
@@ -93,8 +91,6 @@ describe("Awesome-slot", function()
93
91
target = target ,
94
92
signal = " signal" ,
95
93
slot = function () end ,
96
- slot_params = { key = " value" },
97
- connect = true ,
98
94
}
99
95
100
96
slot .disconnect (s )
@@ -109,7 +105,6 @@ describe("Awesome-slot", function()
109
105
target = target ,
110
106
signal = " signal" ,
111
107
slot = function () end ,
112
- slot_params = { key = " value" },
113
108
}
114
109
115
110
assert .is_not_nil (slot .get_slot (s ))
@@ -124,7 +119,6 @@ describe("Awesome-slot", function()
124
119
target = target ,
125
120
signal = " signal" ,
126
121
slot = function () end ,
127
- slot_params = { key = " value" },
128
122
}
129
123
130
124
assert .is_not_nil (slot .get_slot (id ))
@@ -137,7 +131,6 @@ describe("Awesome-slot", function()
137
131
target = target ,
138
132
signal = " signal" ,
139
133
slot = function () end ,
140
- slot_params = { key = " value" },
141
134
}
142
135
143
136
assert .is_not_nil (s .id )
@@ -158,7 +151,6 @@ describe("Awesome-slot", function()
158
151
signal = signal_name ,
159
152
slot = callback ,
160
153
slot_params = params ,
161
- connect = true ,
162
154
}
163
155
164
156
target :emit_signal (signal_name )
@@ -180,7 +172,6 @@ describe("Awesome-slot", function()
180
172
target = target ,
181
173
signal = signal_name ,
182
174
slot = callback ,
183
- connect = true ,
184
175
}
185
176
186
177
target :emit_signal (signal_name , 1 , 2 , 3 )
0 commit comments