Fix test that was checking numerator instead of denominator (#2160)

* Test was checking numerator instead of denominator

* fixed a typo
This commit is contained in:
Karl Traunmüller
2019-11-30 15:33:20 +01:00
committed by Erik Demaine
parent fa8fbc0c18
commit 8fcfe97e11

View File

@@ -582,10 +582,10 @@ describe("An over/brace/brack parser", function() {
expect(numer.body).toHaveLength(4);
});
it("should create a demonimator from the atoms after \\over", function() {
it("should create a denominator from the atoms after \\over", function() {
const parse = getParsed(complexOver)[0];
const denom = parse.numer;
const denom = parse.denom;
expect(denom.body).toHaveLength(4);
});