Skip to content

Commit

Permalink
test(@putout/plugin-remove-useless-type-conversion) get rid of duplic…
Browse files Browse the repository at this point in the history
…ates (#82)
  • Loading branch information
coderaiser committed Sep 17, 2021
1 parent f168709 commit 520cb9e
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,12 @@ const test = require('@putout/test')(__dirname, {
'remove-useless-type-conversion': require('.'),
});

test('plugin-remove-useless-type-conversion: report', (t) => {
test('plugin-remove-useless-type-conversion: named: report', (t) => {
t.report('bool', 'Useless type conversion should be avoided');
t.end();
});

test('plugin-remove-useless-type-conversion: transform', (t) => {
test('plugin-remove-useless-type-conversion: named: transform', (t) => {
t.transform('bool');
t.end();
});
Expand Down

0 comments on commit 520cb9e

Please sign in to comment.