On Mon, 31 Oct 2016 13:06:09 +0100 (CET) Santiago Vila
wrote:
what's wrong while trying.
>
> Stupid question: Should this really be [^.].+\. or maybe [^.]+\. ?
I'm not good with ruby either, ccing Balu. Also asking upstream for help
https://github.com/stympy/faker/issues/737
I said:
> Try generating a lot of random emails and stop at the first one that
> does not meet the above assert (and then print the generated email address).
Something like this:
#!/usr/bin/ruby
require 'faker'
while true do
email = Faker::Internet.email
if not email.match(/.+@[^.].+\.\w+/)
On Mon, Oct 31, 2016 at 04:40:33PM +0530, Pirate Praveen wrote:
> Control: tags -1 pending
>
> On Thu, 13 Oct 2016 18:08:12 +0200 (CEST) Santiago Vila
> wrote:
> > At least the following tests seem to be wrongly designed:
> >
> > => 14: assert
Control: tags -1 pending
On Thu, 13 Oct 2016 18:08:12 +0200 (CEST) Santiago Vila
wrote:
> At least the following tests seem to be wrongly designed:
>
> => 14: assert Faker::Internet.email.match(/.+@[^.].+\.\w+/)
I don't see a reason for this to fail randomly.
> => 70:
Package: src:ruby-faker
Version: 1.5.0-1
Severity: serious
Dear maintainer:
I tried to build this package in stretch with "dpkg-buildpackage -A"
(which is what the "Arch: all" autobuilder would do to build it)
but it failed.
The package builds ok, but then the tests fail randomly, because they
5 matches
Mail list logo