fix: typo in default error page "occured" -> "occurred" (#879)

This commit is contained in:
Simon Lévesque
2022-11-05 22:35:30 +09:00
committed by GitHub
parent daf8083e9a
commit bd9c69c045
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -42,7 +42,7 @@ export default function DefaultErrorPage(props: ErrorPageProps) {
padding: 16,
fontFamily: "sans-serif",
},
}, "An error occured during route handling or page rendering."),
}, "An error occurred during route handling or page rendering."),
message && h("pre", {
style: {
margin: 0,
+1 -1
View File
@@ -28,7 +28,7 @@ Deno.test("error page rendered", async () => {
const body = await resp.text();
assertStringIncludes(
body,
`An error occured during route handling or page rendering.`,
`An error occurred during route handling or page rendering.`,
);
assertStringIncludes(body, `Error: boom!`);
assertStringIncludes(body, `at render`);