diff --git a/test/printer/samples/await-block-with-catch-without-pending.html b/test/printer/samples/await-block-with-catch-without-pending.html new file mode 100644 index 00000000..290f3e74 --- /dev/null +++ b/test/printer/samples/await-block-with-catch-without-pending.html @@ -0,0 +1,5 @@ +{#await thePromise then theValue} +

the value is {theValue}

+{:catch} +

oh no! {theError.message}

+{/await} diff --git a/test/printer/samples/await-inline-with-catch-without-pending.html b/test/printer/samples/await-inline-with-catch-without-pending.html new file mode 100644 index 00000000..9677eaee --- /dev/null +++ b/test/printer/samples/await-inline-with-catch-without-pending.html @@ -0,0 +1 @@ +{#await thePromise then theValue}{theValue}{:catch error}{error}{/await}