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

abs-lang / abs / 1068
72%
master: 63%

Build:
Build:
LAST BUILD BRANCH: 2.8.x
DEFAULT BRANCH: master
Ran 22 Dec 2019 06:02AM UTC
Jobs 3
Files 24
Run time 1min
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

22 Dec 2019 06:01AM UTC coverage: 71.858% (+0.7%) from 71.116%
1068

push

travis-ci-com

odino
Use a more flexible structure for the spec argument to validateVarArgs (#309)

* Use a more flexible structure for the spec argument to validateVarArgs

validateVarArgs' argument specification now uses a format that supports
multiple argument signatures, each of whose arguments are in turn a list
of supported types. For example, to achieve:

  foo(string, [string|number])
  foo(string)

Your argument would be:

  {
    {{STRING_OBJ}, {STRING_OBJ, NUMBER_OBJ}},
    {{STRING_OBJ}},
  }

Matching is done in order, giving priority to specs by lower index.

Additionally, validateVarArgs is now smart enough to figure out the
minimum and maximum number of arguments on its own.

When validateVarArgs fails to match a spec, it will return an error with
a usage string showing the alternate calling signatures. On success, it
will return the index of the matched signature as the second return
value.

* arr.join() now defaults to an empty string as glue when no argument is specfied

* validateVarArgs' error message should begin with 'Usage:'

* Remove debug line

* split() defaults to a single space

* Update docs for join(), split()

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

8873 of 12348 relevant lines covered (71.86%)

77.3 hits per line

Jobs
ID Job ID Ran Files Coverage
1 1068.1 22 Dec 2019 06:03AM UTC 0
71.16
Travis Job 1068.1
2 1068.2 22 Dec 2019 06:02AM UTC 0
72.21
Travis Job 1068.2
3 1068.3 22 Dec 2019 06:04AM UTC 0
72.21
Travis Job 1068.3
Source Files on build 1068
Detailed source file information is not available for this build.
  • Back to Repo
  • Build #1068
  • 0d33098c on github
  • Prev Build on 1.10.x (#1050)
  • Next Build on 1.10.x (#1071)
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