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

m-lab / go / 1226
96%

Build:
DEFAULT BRANCH: main
Ran 15 Feb 2023 11:43PM UTC
Jobs 1
Files 48
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

15 Feb 2023 11:43PM UTC coverage: 94.469% (+0.03%) from 94.435%
1226

push

travis-ci-com

web-flow
Adds funcs to return strings w/ prefixes and suffixes (#158)

* Adds funcs to return strings w/ prefixes and suffixes

Previously, the only string function returned a typical mlab hostname.
This commit adds additional string functions to return various
combinations of the hostname with or without prefixes and suffixes.

Additionally, this commit modifies the v2 regexp to capture and return
an prefix. Previously the prefix match was a non-capturing group.

* Renames Prefix to Service + PR feedback changes

* Fixes String functions + adds more unit tests

I realized that some of the String* functions would return bad hostnames
in the event that certain fields were not present in the input hostname.
This commit should fix that.

Also, this commit adds unit tests for the new String* functions to be
sure they are doing what we expect.

* Simplifies the String function, reusing existing functionality

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

2169 of 2296 relevant lines covered (94.47%)

162.41 hits per line

Jobs
ID Job ID Ran Files Coverage
1 1226.1 15 Feb 2023 11:43PM UTC 48
94.47
Travis Job 1226.1
Source Files on build 1226
  • Tree
  • List 48
  • Changed 4
  • Source Changed 1
  • Coverage Changed 4
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Build #1226
  • 999e57b5 on github
  • Prev Build on main (#1214)
  • Next Build on main (#1238)
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

© 2025 Coveralls, Inc