mirror of
https://github.com/withastro/astro.git
synced 2024-12-16 21:46:22 -05:00
fix: resolve syntax errors in fixtures (#10828)
I parsed every `.astro` file in the Astro repository (to check if tree-sitter-astro had any bugs), and found these three syntax errors that don't seem intentional.
This commit is contained in:
parent
b0de82b1e9
commit
5cb7d2aed8
3 changed files with 3 additions and 4 deletions
|
@ -4,4 +4,3 @@ import Layout from '../components/Layout.astro';
|
|||
<Layout>
|
||||
<p id="FourOhFour">Page not found</p>
|
||||
</Layout>
|
||||
</script>
|
||||
|
|
|
@ -5,6 +5,6 @@ import {capitalize} from 'file://../strings.js';
|
|||
<html>
|
||||
<head><title>Testing</title></head>
|
||||
<body>
|
||||
<h1>{capitalize('works')</h1>
|
||||
<h1>{capitalize('works')}</h1>
|
||||
</body>
|
||||
</html>
|
||||
|
|
|
@ -8,8 +8,8 @@ import twoFromURL_URL from "../assets/url.jpg?url";
|
|||
|
||||
<Image src={onlyOne} alt="Only one of me exists at the end of the build" />
|
||||
|
||||
<Image src={twoOfUs} alt="Two of us will exist, because I'm also used as a normal image" /></Image>
|
||||
<Image src={twoOfUs} alt="Two of us will exist, because I'm also used as a normal image" />
|
||||
<img src={twoOfUs.src} alt="Two of us will exist, because I'm also used as a normal image" />
|
||||
|
||||
<Image src={twoFromURL} alt="Two of us will exist, because I'm also imported using ?url" /></Image>
|
||||
<Image src={twoFromURL} alt="Two of us will exist, because I'm also imported using ?url" />
|
||||
<img src={twoFromURL_URL} alt="Two of us will exist, because I'm also used as a normal image" />
|
||||
|
|
Loading…
Reference in a new issue