 fs = require 'fs'
 exec = require('child_process').exec
 path = require 'path'
+{assert} = require('chai')
 
 supportDir = path.join __dirname, 'support'
 

			unlinkBindingGyp()

			execGruntTask 'configure', (err, stdout) ->
				if stdout.indexOf('Warning: `gyp` failed with exit code: 1') < 0
					return done(new Error 'expected node-gyp’s error to be in stdout')

				done()


			unlinkBindingGyp()

			execGruntTask 'configure', (err, stdout) ->
				assert.include(
					stdout
					'Warning: `gyp` failed with exit code: 1'
					'expected node-gyp’s error to be in stdout'
				)

				done()

