Skip to content

Commit

Permalink
test(fixtures): Add utf8 test fixtures
Browse files Browse the repository at this point in the history
This guards against potential core errors like the one possibly found in #668 and makes sure
documentation.js continues to be UTF8 friendly
  • Loading branch information
tmcw committed Apr 12, 2017
1 parent 191056e commit 4966e63
Show file tree
Hide file tree
Showing 5 changed files with 137 additions and 112 deletions.
5 changes: 4 additions & 1 deletion test/fixture/es6.input.js
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,10 @@ function iAmPrivate() {}
function iAmProtected() {}

/**
* A public function
* A public function. This uses a sampling of UTF8 to make sure we're on board:
* ¥ · £ · € · $ · ¢ · ₡ · ₢ · ₣ · ₤ · ₥ · ₦ · ₧ · ₨ · ₩ · ₪ · ₫ · ₭ · ₮ · ₯ · ₹
* ᚠᛇᚻ᛫ᛒᛦᚦ᛫ᚠᚱᚩᚠᚢᚱ᛫ᚠᛁᚱᚪ᛫ᚷᛖᚻᚹᛦᛚᚳᚢᛗ
* Sîne klâwen durh die wolken sint geslagen,
* @public
*/
function iAmPublic() {}
Expand Down
5 changes: 4 additions & 1 deletion test/fixture/es6.output-toc.md
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,10 @@ A protected function

## iAmPublic

A public function
A public function. This uses a sampling of UTF8 to make sure we're on board:
¥ · £ · € · $ · ¢ · ₡ · ₢ · ₣ · ₤ · ₥ · ₦ · ₧ · ₨ · ₩ · ₪ · ₫ · ₭ · ₮ · ₯ · ₹
ᚠᛇᚻ᛫ᛒᛦᚦ᛫ᚠᚱᚩᚠᚢᚱ᛫ᚠᛁᚱᚪ᛫ᚷᛖᚻᚹᛦᛚᚳᚢᛗ
Sîne klâwen durh die wolken sint geslagen,

## execute

Expand Down
Loading

0 comments on commit 4966e63

Please sign in to comment.