Browse Source

nit - remove unnecessary use of template literal in tests

node-7
Sindre Sorhus 9 years ago
parent
commit
3dc219e704
  1. 2
      test/arguments.js

2
test/arguments.js

@ -46,7 +46,7 @@ test('overrides querystring from opts', async t => {
test('should throw with auth in url', async t => {
try {
await got(`https://test:45d3ps453@account.myservice.com/api/token`);
await got('https://test:45d3ps453@account.myservice.com/api/token');
t.fail('Exception was not thrown');
} catch (err) {
t.regexTest(/Basic authentication must be done with auth option/, err.message);

Loading…
Cancel
Save