drewbourne/hamcrest-as3

An example in README.markdown is wrong

jeromedecoster opened this issue · 1 comments

Hello,

The example of "Hamcrest for MXML" is wrong :
http://github.com/drewbourne/hamcrest-as3/raw/master/README.markdown

// currently :
<mx:TextInput id="numberInput" />
<mx:Label text={ numberMatcher.description }"" />
<mx:Label text={ numberMatcher.mismatchDescription }"" />
<mx:Label text={ numberMatcher.matched }"" />

// better:
<mx:TextInput id="numberInput" />
<mx:Label text="{ numberMatcher.description }" />
<mx:Label text="{ numberMatcher.mismatchDescription }" />
<mx:Label text="{ numberMatcher.matched }" />

Thanks

fixed.