Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

Java Introduction to Functional Programming Functional Programming Fundamentals Compose Price Conversion Functions

Eduard Silantyev
Eduard Silantyev
5,402 Points

argentinaRecordsAreFormattedAndConverted test has spurious string testing

The test mentioned in the title tests weather the resulting string contains a space " " where it is not intended:

Expected: iterable containing ["First is $1.00 (USD) which is $15,48 (Argentine Peso)", "Second is $2.00 (USD) which is $30,96 (Argentine Peso)"] but: item 0: was "First is $1.00 (USD) which is $ 15,48 (Argentine Peso)"

All the conversions are correct, however.

Todd Baker
Todd Baker
17,207 Points

I'm getting this same problem. How did you fix it?