Skip to content

Commit

Permalink
refine test24
Browse files Browse the repository at this point in the history
  • Loading branch information
mnater committed Aug 31, 2018
1 parent 1bad5a2 commit 126ab45
Showing 1 changed file with 8 additions and 3 deletions.
11 changes: 8 additions & 3 deletions testsuite/test24.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,12 @@
<script>
var Hyphenopoly = {
require: {
"en-au": "FORCEHYPHENOPOLY"
"en-au": "FORCEHYPHENOPOLY",
"en": "FORCEHYPHENOPOLY"
},
fallbacks: {
"en-au": "en-gb"
"en-au": "en-gb",
"en": "en-us"
},
paths: {
maindir: "../",
Expand All @@ -25,7 +27,7 @@
}
};
function assert() {
var tests = 1;
var tests = 2;
var i = 1;
var test = "";
var ref = "";
Expand Down Expand Up @@ -91,6 +93,9 @@ <h1>Test 024</h1>
<h2>1: en-au</h2>
<p id="test1" class="test hyphenate" lang="en-au">A hyphenation algorithm is a set of rules that decides at which points a word can be broken over two lines with a hyphen.</p>
<p id="ref1" class="ref" lang="en-au">A hy&shy;phen&shy;a&shy;tion al&shy;gorithm is a set of rules that de&shy;cides at which points a word can be broken over two lines with a hy&shy;phen.</p>
<h2>2: en</h2>
<p id="test2" class="test hyphenate" lang="en">A hyphenation algorithm is a set of rules that decides at which points a word can be broken over two lines with a hyphen.</p>
<p id="ref2" class="ref" lang="en">A hy&shy;phen&shy;ation al&shy;go&shy;rithm is a set of rules that de&shy;cides at which points a word can be bro&shy;ken over two lines with a hy&shy;phen.</p>

<hr>
<div><span class="test">Test</span> <span class="ref">Ref</span></div>
Expand Down

0 comments on commit 126ab45

Please sign in to comment.