This finishes off the implementation of EXPECT: now, if someone uses it when it has accidentally not been enabled as a rule, it will fail the test and complain. Also, the tests are un-ignored.
add a readme.
Merge branch 'master' into readme
Merge pull request #1 from cgruber/readme
Add a readme file.
Merge branch 'master' of github.com:truth0/truth
Expect makes sure it's enabled as a rule, and un-ignore tests.
Hmm. Does this mean that the usage is now to do a MethodRule like this? Or would the standard usage of Expect still be:
@Rule public Expect EXPECT = Expect.create(); //?
The standard usage is unchanged. This is an obfuscated way to be able to test the exceptions that EXPECT throws. 4.10 has support for making tests like this look a little nicer.