/* eslint-env mocha */

'use strict';

const assert = require('assert');
const binCheck = require('bin-check');
const hugoBin = require('..');

describe('hugo-bin', () => {
  it('should return path to binary and work', () => {
    return binCheck(hugoBin, ['version']).then(works => {
      assert(works);
    });
  });
});

@@ -64,16 +64,23 @@
 assert')
+.strict
 ;%0Aconst 
@@ -297,16 +297,19 @@
   assert
+.ok
 (works);

switch to strict assert