Skip to content
This repository has been archived by the owner on Jul 24, 2024. It is now read-only.

Commit

Permalink
chore: Use strict assert
Browse files Browse the repository at this point in the history
  • Loading branch information
nschonni committed Sep 27, 2020
1 parent 988aac8 commit 1c5b522
Show file tree
Hide file tree
Showing 11 changed files with 12 additions and 12 deletions.
2 changes: 1 addition & 1 deletion test/api.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*eslint new-cap: ["error", {"capIsNewExceptions": ["Color"]}]*/

var assert = require('assert'),
var assert = require('assert').strict,
fs = require('fs'),
path = require('path'),
read = fs.readFileSync,
Expand Down
2 changes: 1 addition & 1 deletion test/binding.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*eslint new-cap: ["error", {"capIsNewExceptions": ["Color"]}]*/

var assert = require('assert'),
var assert = require('assert').strict,
path = require('path'),
etx = require('../lib/extensions'),
binding = process.env.NODESASS_COV
Expand Down
2 changes: 1 addition & 1 deletion test/cli.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
var assert = require('assert'),
var assert = require('assert').strict,
fs = require('fs'),
path = require('path'),
read = require('fs').readFileSync,
Expand Down
2 changes: 1 addition & 1 deletion test/downloadoptions.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
var assert = require('assert'),
var assert = require('assert').strict,
ua = require('../scripts/util/useragent'),
opts = require('../scripts/util/downloadoptions');

Expand Down
2 changes: 1 addition & 1 deletion test/errors.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
var assert = require('assert'),
var assert = require('assert').strict,
path = require('path'),
errors = require('../lib/errors');

Expand Down
2 changes: 1 addition & 1 deletion test/lowlevel.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
process.env.NODESASS_COV ? require('../lib-cov') : require('../lib');

var assert = require('assert'),
var assert = require('assert').strict,
sass = require('../lib/extensions'),
binding = require(sass.getBinaryPath());

Expand Down
2 changes: 1 addition & 1 deletion test/runtime.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
var assert = require('assert'),
var assert = require('assert').strict,
sass = process.env.NODESASS_COV
? require('../lib-cov/extensions')
: require('../lib/extensions');
Expand Down
4 changes: 2 additions & 2 deletions test/scripts/util/proxy.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
var assert = require('assert'),
var assert = require('assert').strict,
proxy = require('../../../scripts/util/proxy');

describe('proxy', function() {
Expand Down Expand Up @@ -73,4 +73,4 @@ describe('proxy', function() {
});
});
});
});
});
2 changes: 1 addition & 1 deletion test/types.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/*eslint new-cap: ["error", { "capIsNew": false }]*/
'use strict';

var assert = require('assert');
var assert = require('assert').strict;
var sass = require('../');

describe('sass.types', function() {
Expand Down
2 changes: 1 addition & 1 deletion test/useragent.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
var assert = require('assert'),
var assert = require('assert').strict,
pkg = require('../package.json'),
ua = require('../scripts/util/useragent');

Expand Down
2 changes: 1 addition & 1 deletion test/watcher.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
var assert = require('assert'),
var assert = require('assert').strict,
fs = require('fs-extra'),
path = require('path'),
temp = require('unique-temp-dir'),
Expand Down

0 comments on commit 1c5b522

Please sign in to comment.