Closed therealklanni closed 9 years ago
+1 looks good! Any chance you could copy-paste a test case to cover this?
Sure, np
Hm. Not sure what happened, but went from working after your first commit, to broken after you added the tests, so something happened:
Clearly, something is up with the way the tests are hooked up on travis, as it didn't fail out :/
It might have to do with your regex in line 90 where you added a new matching group when I don't think you needed to? Just looked briefly though
Are you certain? The tests passed locally even. I will take another look.
On Tue, Feb 3, 2015, 6:35 PM Patrick Connolly notifications@github.com wrote:
Hm. Not sure what happened, but went from working after your first commit, to broken after you added the tests, so something happened:
- https://travis-ci.org/hubot-scripts/hubot-auth/jobs/49362001
- https://travis-ci.org/hubot-scripts/hubot-auth/jobs/49392453
Clearly, something is up with the way the tests are hooked up on travis, as it didn't fail out :/
It might have to do with your regex in line 90 where you added a new matching group when I don't think you needed to? Just looked briefly though
— Reply to this email directly or view it on GitHub https://github.com/hubot-scripts/hubot-auth/pull/15#issuecomment-72773904 .
Not sure what to say.
Yeah, odd. I had the same error locally, and started to investigate, but it was really weird. Like something was sticking around between tests somehow :/
Gimme a day or two to dig in, and if not, I'll just merge I suppose
Actually, it looks like it's just junk output, but it's not actually failing. I'll just merge :)
Tagged and releases in v1.2.0
Weird. Thanks!
Quite simply, allow "I" to refer to the user just like we do in the "what roles" command.