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

wikimedia / parsoid / 2160
85%

Build:
DEFAULT BRANCH: master
Ran 17 Dec 2018 08:16PM UTC
Jobs 3
Files 113
Run time 6min
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
2160

push

travis-ci

subbuss
Tweak QuoteTransformer code + add edgy test specing prevToken arg

* String context preceding a bold token is used in some cases
  to convert it to a "'" and an italic.

* In the scenario where the first quote token on a line is a bold token,
  and the prevToken is a string, the prevToken arg passed in by
  the SyncTTM plays a role in deciding which bold token on the line
  is converted.

  Added a test that specs this behavior. The test fails if prevToken
  arg is removed from the signature. The test is decidedly edgy and
  it is unclear how important this support is, but we can make that
  decision at a later time.

* There might be other ways to examine surrounding context (for example,
  by looking at the tsr value of the bold token and extracing a 2-char
  substring preceding it from env.page.src, but this strategy runs into
  difficult for content from templates whose tsr values are stripped.

  But, this can be solved in the PEG tokenizer by storing the preceding
  two-char string for bold tokens.

  But, this for later. For this patch, the test captures the
  expectation.

* Also simplified the code that sets up the string context - the loop
  is unnecessary.

Change-Id: If0108e329

9321 of 11728 branches covered (79.48%)

15019 of 17730 relevant lines covered (84.71%)

79924.65 hits per line

Jobs
ID Job ID Ran Files Coverage
1 2160.1 17 Dec 2018 08:19PM UTC 0
84.71
Travis Job 2160.1
2 2160.2 17 Dec 2018 08:16PM UTC 0
84.71
Travis Job 2160.2
3 2160.3 17 Dec 2018 08:23PM UTC 0
84.71
Travis Job 2160.3
Source Files on build 2160
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #2160
  • e15c08e7 on github
  • Prev Build on master (#2157)
  • Next Build on master (#2163)
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