add espree comment attachment tests and remove ranges test property from babylon tests
This commit is contained in:
9
test/fixtures/comments/basic/switch-fallthrough-comment-in-function/actual.js
vendored
Executable file
9
test/fixtures/comments/basic/switch-fallthrough-comment-in-function/actual.js
vendored
Executable file
@@ -0,0 +1,9 @@
|
||||
function bar(foo) {
|
||||
switch(foo) {
|
||||
// foo
|
||||
case 1:
|
||||
// falls through
|
||||
case 2:
|
||||
doIt();
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user