@@ -74,7 +74,7 @@ test('find python - python', function (t) {
7474} )
7575
7676test ( 'find python - python too old' , function ( t ) {
77- t . plan ( 4 )
77+ t . plan ( 5 )
7878
7979 var f = new TestPythonFinder ( 'python' , done )
8080 f . which = function ( program , cb ) {
@@ -89,12 +89,13 @@ test('find python - python too old', function (t) {
8989 f . checkPython ( )
9090
9191 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 ) )
9394 }
9495} )
9596
9697test ( 'find python - python too new' , function ( t ) {
97- t . plan ( 4 )
98+ t . plan ( 5 )
9899
99100 var f = new TestPythonFinder ( 'python' , done )
100101 f . which = function ( program , cb ) {
@@ -109,7 +110,8 @@ test('find python - python too new', function (t) {
109110 f . checkPython ( )
110111
111112 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 ) )
113115 }
114116} )
115117
@@ -124,7 +126,7 @@ test('find python - no python', function (t) {
124126 f . checkPython ( )
125127
126128 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 ) )
128130 }
129131} )
130132
@@ -171,7 +173,7 @@ test('find python - no python2, no python, unix', function (t) {
171173 f . checkPython ( )
172174
173175 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 ) )
175177 }
176178} )
177179
@@ -242,7 +244,7 @@ test('find python - python 3, use python launcher', function (t) {
242244
243245test ( 'find python - python 3, use python launcher, python 2 too old' ,
244246 function ( t ) {
245- t . plan ( 9 )
247+ t . plan ( 10 )
246248
247249 var f = new TestPythonFinder ( 'python' , done )
248250 f . checkedPythonLauncher = false
@@ -272,7 +274,8 @@ test('find python - python 3, use python launcher, python 2 too old',
272274 f . checkPython ( )
273275
274276 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 ) )
276279 }
277280} )
278281
@@ -334,6 +337,6 @@ test('find python - no python, no python launcher, bad guess', function (t) {
334337 f . checkPython ( )
335338
336339 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 ) )
338341 }
339342} )
0 commit comments