franela / goblin

Minimal and Beautiful Go testing framework
MIT License
883 stars 79 forks source link

Add support for BeTrue and BeFalse assertions #32

Closed marcosnils closed 10 years ago

xetorthio commented 10 years ago

If I am not wrong this propose the following syntax:

g.Assert(foo).BeTrue()
g.Assert(foo).BeFalse()

But it seems like it make sense for it to be IsTrue and IsFalse, right?

marcosnils commented 10 years ago

Well, I agree that IsTrue and IsFalse is more verbose and readable.

I'll make the change and update the pr

sent from mobile El nov 17, 2013 8:53 p.m., "Jonathan Leibiusky" notifications@github.com escribió:

If I am not wrong this propose the following syntax:

g.Assert(foo).BeTrue() g.Assert(foo).BeFalse()

But it seems like it make sense for it to be IsTrue and IsFalse, right?

— Reply to this email directly or view it on GitHubhttps://github.com/franela/goblin/pull/32#issuecomment-28668058 .