Skip to content

Commit

Permalink
make tests happy
Browse files Browse the repository at this point in the history
  • Loading branch information
joshgoebel committed Apr 28, 2020
1 parent 2529358 commit 73aceb6
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 3 deletions.
1 change: 0 additions & 1 deletion src/languages/typescript.js
Expand Up @@ -38,7 +38,6 @@ export default function(hljs) {
literal: ECMAScript.LITERALS.join(" "),
built_in: ECMAScript.BUILT_INS.concat(TYPES).join(" ")
};
console.log(KEYWORDS.built_in);
var DECORATOR = {
className: 'meta',
begin: '@' + JS_IDENT_RE,
Expand Down
2 changes: 1 addition & 1 deletion test/markup/javascript/class.expect.txt
@@ -1,6 +1,6 @@
<span class="hljs-class"><span class="hljs-keyword">class</span> <span class="hljs-title">Car</span> <span class="hljs-keyword">extends</span> <span class="hljs-title">Vehicle</span> </span>{
<span class="hljs-keyword">constructor</span>(speed, cost) {
<span class="hljs-keyword">super</span>(speed);
<span class="hljs-built_in">super</span>(speed);

<span class="hljs-keyword">var</span> c = <span class="hljs-built_in">Symbol</span>(<span class="hljs-string">'cost'</span>);
<span class="hljs-built_in">this</span>[c] = cost;
Expand Down
2 changes: 1 addition & 1 deletion test/markup/typescript/class.expect.txt
@@ -1,6 +1,6 @@
<span class="hljs-keyword">class</span> Car <span class="hljs-keyword">extends</span> Vehicle {
<span class="hljs-keyword">constructor</span>(<span class="hljs-params">speed, cost</span>) {
<span class="hljs-keyword">super</span>(speed);
<span class="hljs-built_in">super</span>(speed);

<span class="hljs-keyword">var</span> c = <span class="hljs-built_in">Symbol</span>(<span class="hljs-string">'cost'</span>);
<span class="hljs-built_in">this</span>[c] = cost;
Expand Down

0 comments on commit 73aceb6

Please sign in to comment.