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

CS2113-AY1819S2-T09-1 / main / 304
92%

Build:
DEFAULT BRANCH: master
Ran 15 Mar 2019 04:06AM UTC
Jobs 1
Files 106
Run time 5s
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
304

push

travis-ci

lycjackie
Model: update `Name#VALIDATION_REGEX` (#76)

`Name#VALIDATION_REGEX` accepts any alphanumeric characters separated by
spaces. However, this character set is too strict, and prevents the use
of punctuation characters.

Example:
"Software Engineering & Object-Oriented Programming" is invalid.

Let's relax the `Name` restrictions by accepting punctuation characters
in `Name` by:
* replacing `\p{Alnum}` with `\p{Graph}` (alphanumeric + punctuations)
* replacing `\p{Alnum} ` with `\p{Print}` (`\p{Graph}` + whitespace)
* updating `Name#MESSAGE_CONSTRAINTS` to reflect the changes accordingly

In addition, let's also update unit tests that checks for invalid names.

1718 of 2102 relevant lines covered (81.73%)

0.82 hits per line

Jobs
ID Job ID Ran Files Coverage
1 304.1 15 Mar 2019 04:06AM UTC 0
81.73
Travis Job 304.1
Source Files on build 304
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #304
  • c9e00b81 on github
  • Prev Build on master (#286)
  • Next Build on master (#307)
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