* Fix \fbox

* Fix lint errors

* Change negative space test from \fbox to \boxed
This commit is contained in:
Ron Kok
2018-08-04 20:32:06 -07:00
committed by GitHub
parent aef9256419
commit b2d38104cd
4 changed files with 30 additions and 3 deletions

View File

@@ -2156,6 +2156,12 @@ describe("A boxed builder", function() {
});
});
describe("An fbox parser, unlike a boxed parser,", function() {
it("should fail when given math", function() {
expect`\fbox{\frac a b}`.not.toParse();
});
});
describe("A colorbox parser", function() {
it("should not fail, given a text argument", function() {
expect`\colorbox{red}{a b}`.toParse();