@putout/plugin-tape 21.13.0 → 21.15.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -11,11 +11,13 @@ export const report = () => `Use 't.deepEqual()' when comparing Objects an Array
11
11
 
12
12
  export const match = () => ({
13
13
  't.equal(__a, __b)': check,
14
+ 'equal(__a, __b)': check,
14
15
  't.notEqual(__a, __b)': check,
15
16
  });
16
17
 
17
18
  export const replace = () => ({
18
19
  't.equal(__a, __b)': 't.deepEqual(__a, __b)',
20
+ 'equal(__a, __b)': 'deepEqual(__a, __b)',
19
21
  't.notEqual(__a, __b)': 't.notDeepEqual(__a, __b)',
20
22
  });
21
23
 
@@ -58,6 +58,10 @@ export const replace = () => ({
58
58
  const expected = __array;
59
59
  deepEqual(__a, expected);
60
60
  }`,
61
+ 'deepEqual(__a, __object)': `{
62
+ const expected = __object;
63
+ deepEqual(__a, expected);
64
+ }`,
61
65
  't.__a(__b, __c)': ({__b, __c}, path) => {
62
66
  const resultBinding = getBinding(path, 'result');
63
67
  const expectedBinding = getBinding(path, 'expected');
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@putout/plugin-tape",
3
- "version": "21.13.0",
3
+ "version": "21.15.0",
4
4
  "type": "module",
5
5
  "author": "coderaiser <mnemonic.enemy@gmail.com> (https://github.com/coderaiser)",
6
6
  "description": "🐊Putout plugin helps with tests",