-
-
Notifications
You must be signed in to change notification settings - Fork 594
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
0993014
commit 87244e1
Showing
3 changed files
with
29 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
import { testNoDiagnostics } from '../../../diagnosticHelper'; | ||
import { getDocUri } from '../../path'; | ||
|
||
describe('Should find no error when no root template element', () => { | ||
const docUri = getDocUri('diagnostics/issue-1336.vue'); | ||
|
||
it('shows no diagnostics error without root template element area', async () => { | ||
await testNoDiagnostics(docUri); | ||
}); | ||
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
<template> | ||
<div>hello world</div> | ||
</template> | ||
|
||
<docs> | ||
` ``vue | ||
<foo> | ||
<template> | ||
<div>1</div> | ||
<div>2</div> | ||
</template> | ||
</foo> | ||
` `` | ||
</docs> |