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

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

Build:
Build:
LAST BUILD BRANCH: 2.8.x
DEFAULT BRANCH: master
Ran 16 Dec 2019 07:10PM 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

16 Dec 2019 07:10PM UTC coverage: 71.769%. First build
1058

Pull #309

travis-ci-com

web-flow
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.
Pull Request #309: Use a more flexible structure for the spec argument to validateVarArgs

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

8834 of 12309 relevant lines covered (71.77%)

77.18 hits per line

Jobs
ID Job ID Ran Files Coverage
1 1058.1 16 Dec 2019 07:12PM UTC 0
71.07
Travis Job 1058.1
2 1058.2 16 Dec 2019 07:10PM UTC 0
72.12
Travis Job 1058.2
3 1058.3 16 Dec 2019 07:12PM UTC 0
72.17
Travis Job 1058.3
Source Files on build 1058
Detailed source file information is not available for this build.
  • Back to Repo
  • Build #1058
  • Pull Request #309
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