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

V-ed / jsanitizers / 31
92%

Build:
DEFAULT BRANCH: master
Ran 22 Nov 2018 03:54AM UTC
Jobs 1
Files 9
Run time 1s
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
31

push

travis-ci-com

V-ed
Tweak TextRegexSanitizer to better represent the behavior of isSubFormat

This change breaks backward compatibility as it inverts the default bahavior (false instead of true) - therefore, the tests were updated to reflect this.

Added simple test to see if when already sub-formatted, the logic would still work. I cannot verify if the regex is well updated to reflect the sub-formatting, but now, if the regex already contains  sub-formats, then new subformats won't be applied.

This tweak also contains a fix for when inputting the ^ and $ characters in the regex, those are now placed better in the resulting regex.

4 of 4 new or added lines in 1 file covered. (100.0%)

103 of 103 relevant lines covered (100.0%)

1.0 hits per line

Jobs
ID Job ID Ran Files Coverage
1 31.1 22 Nov 2018 03:54AM UTC 0
100.0
Travis Job 31.1
Source Files on build 31
Detailed source file information is not available for this build.
  • Back to Repo
  • Build #31
  • 5134ea52 on github
  • Prev Build on master (#30)
  • Next Build on master (#32)
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