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

m-lab / go / 1227
94%
main: 96%

Build:
Build:
LAST BUILD BRANCH: v0.1.76
DEFAULT BRANCH: main
Ran 16 Feb 2023 06:31PM UTC
Jobs 1
Files 48
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

15 Feb 2023 11:41PM UTC coverage: 94.469%. First build
1227

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

2169 of 2296 relevant lines covered (94.47%)

164.84 hits per line

Jobs
ID Job ID Ran Files Coverage
1 1227.1 16 Feb 2023 06:31PM UTC 48
94.47
Travis Job 1227.1
Source Files on build 1227
  • Tree
  • List 48
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Build #1227
  • 999e57b5 on github
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