Skip to content
This repository has been archived by the owner on Mar 25, 2021. It is now read-only.

Commit

Permalink
Update "whitespace" test to check standalone blocks
Browse files Browse the repository at this point in the history
  • Loading branch information
cameron-mcateer committed Jan 6, 2017
1 parent 2ee96bc commit 66084e8
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
5 changes: 5 additions & 0 deletions test/rules/whitespace/all/test.ts.fix
Original file line number Diff line number Diff line change
Expand Up @@ -83,3 +83,8 @@ if ()
{}
else
{}

{
const foo = 123;
// code that just wants to be encapsulated in a block scope
}
5 changes: 5 additions & 0 deletions test/rules/whitespace/all/test.ts.lint
Original file line number Diff line number Diff line change
Expand Up @@ -127,3 +127,8 @@ if ()
{}
else
{}

{
const foo = 123;
// code that just wants to be encapsulated in a block scope
}

0 comments on commit 66084e8

Please sign in to comment.