• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

xymostech / rs-tex / 17
92%

Build:
DEFAULT BRANCH: master
Ran 22 Apr 2019 06:49AM UTC
Jobs 1
Files 26
Run time 2s
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

pending completion
17

push

travis-ci-com

xymostech
Add parsing of \box<n> boxes

This adds the ability to parse out a box from a box register using
`\box<n>`. This removes the box from the register and returns it.

Most of the code here is self-explanatory. The most interesting thing
that happened is that `parse_box()` now has to return `Option<TeXBox>`
because a box register can be empty. This is alluded to in the TeXbook
where it says things like "if the box is void, nothing happens" or
things like that. I added some tests to make sure this is handled
correctly in the places that are using `parse_box()`.

Also, after this commit, stage 2 is done! boxes.tex correctly parses
and returns the expected output. Now all I need to do is make an
integration test to confirm that and ensure that it stays that way,
and then I can move onto stage 3!

2872 of 3138 relevant lines covered (91.52%)

1.23 hits per line

Jobs
ID Job ID Ran Files Coverage
3 17.3 22 Apr 2019 06:49AM UTC 0
91.52
Travis Job 17.3
Source Files on build 17
Detailed source file information is not available for this build.
  • Back to Repo
  • Build #17
  • 85de1e3c on github
  • Prev Build on master (#16)
  • Next Build on master (#18)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc