Skip to content

Commit

Permalink
Add a test for =
Browse files Browse the repository at this point in the history
  • Loading branch information
Gerrit0 committed Nov 23, 2019
1 parent 652bf4f commit 0a2b034
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 3 deletions.
3 changes: 2 additions & 1 deletion examples/basic/src/weird-names.ts
Expand Up @@ -2,5 +2,6 @@
* Object with characters that must be escaped.
*/
export const foo = {
'<c-a>': '<c-b>'
'<c-a>': '<c-b>',
'=': '='
};
14 changes: 12 additions & 2 deletions src/test/renderer/specs/modules/_weird_names_.html
Expand Up @@ -87,7 +87,7 @@ <h3><span class="tsd-flag ts-flagConst">Const</span> foo</h3>
<div class="tsd-signature tsd-kind-icon">foo<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">object</span></div>
<aside class="tsd-sources">
<ul>
<li>Defined in <a href="%GITHUB%/basic/src/weird-names.ts#L4">weird-names.ts:4</a></li>
<li>Defined in <a href="https://github.com/sebastian-lenz/typedoc/blob/master/examples/basic/src/weird-names.ts#L4">weird-names.ts:4</a></li>
</ul>
</aside>
<div class="tsd-comment tsd-typography">
Expand All @@ -101,7 +101,17 @@ <h3>&lt;c-<wbr>a&gt;</h3>
<div class="tsd-signature tsd-kind-icon">&lt;c-<wbr>a&gt;<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol"> =&nbsp;&quot;&lt;c-b&gt;&quot;</span></div>
<aside class="tsd-sources">
<ul>
<li>Defined in <a href="%GITHUB%/basic/src/weird-names.ts#L5">weird-names.ts:5</a></li>
<li>Defined in <a href="https://github.com/sebastian-lenz/typedoc/blob/master/examples/basic/src/weird-names.ts#L5">weird-names.ts:5</a></li>
</ul>
</aside>
</section>
<section class="tsd-panel tsd-member tsd-kind-variable tsd-parent-kind-object-literal">
<a name="foo._" class="tsd-anchor"></a>
<h3>&#61;</h3>
<div class="tsd-signature tsd-kind-icon">&#61;<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol"> =&nbsp;&quot;&#x3D;&quot;</span></div>
<aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/sebastian-lenz/typedoc/blob/master/examples/basic/src/weird-names.ts#L6">weird-names.ts:6</a></li>
</ul>
</aside>
</section>
Expand Down

0 comments on commit 0a2b034

Please sign in to comment.