Skip to content

Latest commit

 

History

History
33 lines (28 loc) · 666 Bytes

empty-brace-spaces.js.md

File metadata and controls

33 lines (28 loc) · 666 Bytes

Snapshot report for test/empty-brace-spaces.js

The actual snapshot is saved in empty-brace-spaces.js.snap.

Generated by AVA.

empty-brace-spaces - #1

Snapshot 1

`␊
Input:␊
  1 | try {␊
  2 | 	foo();␊
  3 | } catch (error) {␊
  4 | 	       ␊
  5 | }␊

Output:␊
  1 | try {␊
  2 | 	foo();␊
  3 | } catch (error) {}␊

Error 1/1:␊
  1 | try {␊
  2 | 	foo();␊
> 3 | } catch (error) {␊
    |                  ^␊
> 4 | 	       ␊
    | ^^^^^^^^␊
> 5 | }␊
    | ^ Do not add spaces between braces.␊
`