Skip to content

Commit

Permalink
updates the error rendering test to expect a shade of red a little da…
Browse files Browse the repository at this point in the history
…rker
  • Loading branch information
sverweij committed Jul 15, 2016
1 parent dc4ef0f commit 2118760
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/test/embedding/t_error-rendering.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ define(["../../embedding/error-rendering", "../../../node_modules/chai/chai"], f
expect(
err.renderError("Just a source\nwith two lines", undefined, "just a message")
).to.equal(
"<pre><div style='color: red'># ERROR just a message</div> 1 Just a source\n 2 with two lines\n</pre>"
"<pre><div style='color: #d00'># ERROR just a message</div> 1 Just a source\n 2 with two lines\n</pre>"
);
});

Expand All @@ -25,7 +25,7 @@ define(["../../embedding/error-rendering", "../../../node_modules/chai/chai"], f
}
};
expect(err.renderError("Just a source\nwith two lines", lErrorLocation, "just a message")).to.equal(
"<pre><div style='color: red'># ERROR on line 2, column 6 - just a message</div> 1 Just a source\n<mark> 2 with <span style='text-decoration:underline'>t</span>wo lines\n</mark></pre>"
"<pre><div style='color: #d00'># ERROR on line 2, column 6 - just a message</div> 1 Just a source\n<mark> 2 with <span style='text-decoration:underline'>t</span>wo lines\n</mark></pre>"
);
});
});
Expand Down

0 comments on commit 2118760

Please sign in to comment.