@@ -74,7 +74,7 @@ test('find python - python', function (t) {
74
74
} )
75
75
76
76
test ( 'find python - python too old' , function ( t ) {
77
- t . plan ( 4 )
77
+ t . plan ( 5 )
78
78
79
79
var f = new TestPythonFinder ( 'python' , done )
80
80
f . which = function ( program , cb ) {
@@ -89,12 +89,13 @@ test('find python - python too old', function (t) {
89
89
f . checkPython ( )
90
90
91
91
function done ( err ) {
92
- t . ok ( / i s n o t s u p p o r t e d b y g y p / . test ( err ) )
92
+ t . ok ( / t h i s v e r s i o n i s n o t s u p p o r t e d b y G Y P / . test ( err ) )
93
+ t . ok ( / F o r m o r e i n f o r m a t i o n c o n s u l t t h e d o c u m e n t a t i o n / . test ( err ) )
93
94
}
94
95
} )
95
96
96
97
test ( 'find python - python too new' , function ( t ) {
97
- t . plan ( 4 )
98
+ t . plan ( 5 )
98
99
99
100
var f = new TestPythonFinder ( 'python' , done )
100
101
f . which = function ( program , cb ) {
@@ -109,7 +110,8 @@ test('find python - python too new', function (t) {
109
110
f . checkPython ( )
110
111
111
112
function done ( err ) {
112
- t . ok ( / i s n o t s u p p o r t e d b y g y p / . test ( err ) )
113
+ t . ok ( / t h i s v e r s i o n i s n o t s u p p o r t e d b y G Y P / . test ( err ) )
114
+ t . ok ( / F o r m o r e i n f o r m a t i o n c o n s u l t t h e d o c u m e n t a t i o n / . test ( err ) )
113
115
}
114
116
} )
115
117
@@ -124,7 +126,7 @@ test('find python - no python', function (t) {
124
126
f . checkPython ( )
125
127
126
128
function done ( err ) {
127
- t . ok ( / C a n ' t f i n d P y t h o n e x e c u t a b l e / . test ( err ) )
129
+ t . ok ( / F o r m o r e i n f o r m a t i o n c o n s u l t t h e d o c u m e n t a t i o n / . test ( err ) )
128
130
}
129
131
} )
130
132
@@ -171,7 +173,7 @@ test('find python - no python2, no python, unix', function (t) {
171
173
f . checkPython ( )
172
174
173
175
function done ( err ) {
174
- t . ok ( / C a n ' t f i n d P y t h o n e x e c u t a b l e / . test ( err ) )
176
+ t . ok ( / F o r m o r e i n f o r m a t i o n c o n s u l t t h e d o c u m e n t a t i o n / . test ( err ) )
175
177
}
176
178
} )
177
179
@@ -242,7 +244,7 @@ test('find python - python 3, use python launcher', function (t) {
242
244
243
245
test ( 'find python - python 3, use python launcher, python 2 too old' ,
244
246
function ( t ) {
245
- t . plan ( 9 )
247
+ t . plan ( 10 )
246
248
247
249
var f = new TestPythonFinder ( 'python' , done )
248
250
f . checkedPythonLauncher = false
@@ -272,7 +274,8 @@ test('find python - python 3, use python launcher, python 2 too old',
272
274
f . checkPython ( )
273
275
274
276
function done ( err ) {
275
- t . ok ( / i s n o t s u p p o r t e d b y g y p / . test ( err ) )
277
+ t . ok ( / t h i s v e r s i o n i s n o t s u p p o r t e d b y G Y P / . test ( err ) )
278
+ t . ok ( / F o r m o r e i n f o r m a t i o n c o n s u l t t h e d o c u m e n t a t i o n / . test ( err ) )
276
279
}
277
280
} )
278
281
@@ -334,6 +337,6 @@ test('find python - no python, no python launcher, bad guess', function (t) {
334
337
f . checkPython ( )
335
338
336
339
function done ( err ) {
337
- t . ok ( / C a n ' t f i n d P y t h o n e x e c u t a b l e / . test ( err ) )
340
+ t . ok ( / F o r m o r e i n f o r m a t i o n c o n s u l t t h e d o c u m e n t a t i o n / . test ( err ) )
338
341
}
339
342
} )
0 commit comments