0
Fork 0
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:
virchau13 2024-04-23 02:14:09 +08:00 committed by GitHub
parent b0de82b1e9
commit 5cb7d2aed8
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 3 additions and 4 deletions

View file

@ -4,4 +4,3 @@ import Layout from '../components/Layout.astro';
<Layout>
<p id="FourOhFour">Page not found</p>
</Layout>
</script>

View file

@ -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>

View file

@ -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" />