Skip to content

Commit

Permalink
update tests to reflect last commit
Browse files Browse the repository at this point in the history
  • Loading branch information
mnater committed May 27, 2018
1 parent db45fa3 commit 62b2fb0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 6 deletions.
6 changes: 1 addition & 5 deletions nodetest.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,8 @@ const time = process.hrtime();
const Hyphenopoly = require("./hyphenopoly.module");

const textHyphenators = Hyphenopoly.config({
"require": ["en"],
"require": ["de"],
//"require": ["de", "en-us"],
"paths": {
"maindir": "./",
"patterndir": "./patterns/"
},
"hyphen": "•"
});

Expand Down
2 changes: 1 addition & 1 deletion test/hyphenopoly.module_test.js
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ describe("hyphenopoly.module", function () {
it("rejects when a language is not known", function (done) {
H9Y.config({"require": ["en"]}).catch(
function (e) {
assert.equal(e, "./patterns/en.hpb not found.");
assert.equal(e.slice(-27), "/patterns/en.hpb not found.");
done();
}
);
Expand Down

0 comments on commit 62b2fb0

Please sign in to comment.