@@ -47,16 +47,16 @@ describe('unexpected-check', function () {
47
47
maxErrors : 20
48
48
} ) ;
49
49
} , 'to throw' ,
50
- 'Ran 20 iterations and found 12 errors\n' +
50
+ 'Ran 20 iterations and found 11 errors\n' +
51
51
'counterexample:\n' +
52
52
'\n' +
53
- ' Generated input: [ -20 , -15 ]\n' +
53
+ ' Generated input: [ -3 , -2 ]\n' +
54
54
'\n' +
55
- ' expected [ -15 , -20 ] first item to be less than or equal to all [ -20 , -15 ]\n' +
55
+ ' expected [ -2 , -3 ] first item to be less than or equal to all [ -3 , -2 ]\n' +
56
56
'\n' +
57
57
' [\n' +
58
- ' -20 , // should be greater than or equal to -15 \n' +
59
- ' -15 \n' +
58
+ ' -3 , // should be greater than or equal to -2 \n' +
59
+ ' -2 \n' +
60
60
' ]' ) ;
61
61
} ) ;
62
62
@@ -66,7 +66,7 @@ describe('unexpected-check', function () {
66
66
expect ( arr , 'not to contain' , 2 ) ;
67
67
} , 'to be valid for all' , arrays ) ;
68
68
} , 'to throw' ,
69
- 'Ran 32 iterations and found 20 errors\n' +
69
+ 'Ran 24 iterations and found 10 errors\n' +
70
70
'counterexample:\n' +
71
71
'\n' +
72
72
' Generated input: [ 2 ]\n' +
@@ -94,15 +94,15 @@ describe('unexpected-check', function () {
94
94
expect ( items , 'not to contain' , i ) ;
95
95
} , 'to be valid for all' , arrays , g . integer ( { min : - 20 , max : 20 } ) ) ;
96
96
} , 'to throw' ,
97
- 'Ran 143 iterations and found 20 errors\n' +
97
+ 'Ran 9 iterations and found 7 errors\n' +
98
98
'counterexample:\n' +
99
99
'\n' +
100
- ' Generated input: [ -4 ], -4 \n' +
100
+ ' Generated input: [ 0 ], 0 \n' +
101
101
'\n' +
102
- ' expected [ -4 ] not to contain -4 \n' +
102
+ ' expected [ 0 ] not to contain 0 \n' +
103
103
'\n' +
104
104
' [\n' +
105
- ' -4 // should be removed\n' +
105
+ ' 0 // should be removed\n' +
106
106
' ]' ) ;
107
107
} ) ;
108
108
@@ -114,19 +114,17 @@ describe('unexpected-check', function () {
114
114
} ) ;
115
115
} , 'to be valid for all' , arrays ) ;
116
116
} , 'to throw' ,
117
- 'Ran 282 iterations and found 20 errors\n' +
117
+ 'Ran 107 iterations and found 20 errors\n' +
118
118
'counterexample:\n' +
119
119
'\n' +
120
- ' Generated input: [ -8, -5, 18, 3 ]\n' +
120
+ ' Generated input: [ -3, 1 ]\n' +
121
121
'\n' +
122
- ' expected [ -8, -5, 18, 3 ]\n' +
122
+ ' expected [ -3, 1 ]\n' +
123
123
' to have items satisfying function (item, i) { expect(item, \'not to be\', i); }\n' +
124
124
'\n' +
125
125
' [\n' +
126
- ' -8,\n' +
127
- ' -5,\n' +
128
- ' 18,\n' +
129
- ' 3 // should not be 3\n' +
126
+ ' -3,\n' +
127
+ ' 1 // should not be 1\n' +
130
128
' ]' ) ;
131
129
} ) ;
132
130
@@ -140,21 +138,21 @@ describe('unexpected-check', function () {
140
138
} ) ;
141
139
} , 'to be valid for all' , arrays ) ;
142
140
} , 'to throw' ,
143
- 'Ran 20 iterations and found 20 errors\n' +
141
+ 'Ran 5 iterations and found 4 errors\n' +
144
142
'counterexample:\n' +
145
143
'\n' +
146
- ' Generated input: [ \']1V3ZRFOmgiE* \' ]\n' +
144
+ ' Generated input: [ \'( \' ]\n' +
147
145
'\n' +
148
- ' expected [ \']1V3ZRFOmgiE* \' ] to have items satisfying\n' +
146
+ ' expected [ \'( \' ] to have items satisfying\n' +
149
147
' function (item) {\n' +
150
148
' expect(item, \'not to match\', /[!@#$%^&*()_+]/);\n' +
151
149
' }\n' +
152
150
'\n' +
153
151
' [\n' +
154
- ' \']1V3ZRFOmgiE* \' // should not match /[!@#$%^&*()_+]/\n' +
155
- ' //\n' +
156
- ' // ]1V3ZRFOmgiE* \n' +
157
- ' // ^\n' +
152
+ ' \'( \' // should not match /[!@#$%^&*()_+]/\n' +
153
+ ' //\n' +
154
+ ' // ( \n' +
155
+ ' // ^\n' +
158
156
' ]' ) ;
159
157
} ) ;
160
158
@@ -166,15 +164,15 @@ describe('unexpected-check', function () {
166
164
} ) . delay ( 1 ) ;
167
165
} , 'to be valid for all' , arrays , g . integer ( { min : - 20 , max : 20 } ) )
168
166
, 'to be rejected with' ,
169
- 'Ran 143 iterations and found 20 errors\n' +
167
+ 'Ran 9 iterations and found 7 errors\n' +
170
168
'counterexample:\n' +
171
169
'\n' +
172
- ' Generated input: [ -4 ], -4 \n' +
170
+ ' Generated input: [ 0 ], 0 \n' +
173
171
'\n' +
174
- ' expected [ -4 ] not to contain -4 \n' +
172
+ ' expected [ 0 ] not to contain 0 \n' +
175
173
'\n' +
176
174
' [\n' +
177
- ' -4 // should be removed\n' +
175
+ ' 0 // should be removed\n' +
178
176
' ]' ) ;
179
177
} ) ;
180
178
@@ -190,15 +188,15 @@ describe('unexpected-check', function () {
190
188
}
191
189
} , 'to be valid for all' , arrays , g . integer ( { min : - 20 , max : 20 } ) )
192
190
, 'to be rejected with' ,
193
- 'Ran 143 iterations and found 20 errors\n' +
191
+ 'Ran 9 iterations and found 7 errors\n' +
194
192
'counterexample:\n' +
195
193
'\n' +
196
- ' Generated input: [ -4 ], -4 \n' +
194
+ ' Generated input: [ 0 ], 0 \n' +
197
195
'\n' +
198
- ' expected [ -4 ] not to contain -4 \n' +
196
+ ' expected [ 0 ] not to contain 0 \n' +
199
197
'\n' +
200
198
' [\n' +
201
- ' -4 // should be removed\n' +
199
+ ' 0 // should be removed\n' +
202
200
' ]' ) ;
203
201
} ) ;
204
202
} ) ;
0 commit comments