summaryrefslogtreecommitdiff
path: root/packages/markdown/remark/test
diff options
context:
space:
mode:
authorGravatar Fred K. Schott <fkschott@gmail.com> 2022-07-18 14:32:51 -0700
committerGravatar Fred K. Schott <fkschott@gmail.com> 2022-07-18 14:32:51 -0700
commitf5c9d8e82970dc955a398898a201c00e18adb95e (patch)
tree13909d0b85478374b11fe4ac903bff927ca0ebf3 /packages/markdown/remark/test
parent4555c8cb0ba592fa8e7c888059ee5f3b7668483c (diff)
downloadastro-f5c9d8e82970dc955a398898a201c00e18adb95e.tar.gz
astro-f5c9d8e82970dc955a398898a201c00e18adb95e.tar.zst
astro-f5c9d8e82970dc955a398898a201c00e18adb95e.zip
Revert "Removes trailing dash from generated slugs in markdown (#3044)"
This reverts commit 8530cce14f9953e0e5d6b12807720e62b9b5cf1f.
Diffstat (limited to 'packages/markdown/remark/test')
-rw-r--r--packages/markdown/remark/test/expressions.test.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/markdown/remark/test/expressions.test.js b/packages/markdown/remark/test/expressions.test.js
index 828f70561..db351f9d8 100644
--- a/packages/markdown/remark/test/expressions.test.js
+++ b/packages/markdown/remark/test/expressions.test.js
@@ -54,7 +54,7 @@ describe('expressions', () => {
chai
.expect(code)
.to.equal(
- '<h1 id="-foo--is-a-shorthand-for--foo-foo"><code is:raw>{ foo }</code> is a shorthand for <code is:raw>{ foo: foo }</code></h1>'
+ '<h1 id="-foo--is-a-shorthand-for--foo-foo-"><code is:raw>{ foo }</code> is a shorthand for <code is:raw>{ foo: foo }</code></h1>'
);
});