You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi there!
I'm having a issue with the test for the Exercise 29. Look at the result of the test (lein midje):
FAIL "books->string" at (structured_data.clj:317)
Expected: #"3 books. The Little Schemer, written by (Daniel Friedman (1944 - ), Matthias Felleisen|Matthias Felleisen, Daniel Friedman (1944 - )). The City and the City, written by China Miéville (1972 - ). Wild Seed, written by Octavia E. Butler (1947 - 2006)."
Comparing with the result in the article:
(books->string [little-schemer, cities, wild-seed])
;=> "3 books. The Little Schemer, written by Daniel Friedman (1944 - ), Matthias Felleisen. The City and the City, written by China Miéville (1972 - ). Wild Seed, written by Octavia E. Butler (1947 - 2006)."
The text was updated successfully, but these errors were encountered:
Had a problem with this too, but it turned out i missed the ending period (".").
This #"(...)|(...)" string just contains escape characters (e.g. "(") and alternative sign ("|") to allow different solutions (the ones with different ordering).
Hi there!
I'm having a issue with the test for the Exercise 29. Look at the result of the test (lein midje):
FAIL "books->string" at (structured_data.clj:317)
Expected: #"3 books. The Little Schemer, written by (Daniel Friedman (1944 - ), Matthias Felleisen|Matthias Felleisen, Daniel Friedman (1944 - )). The City and the City, written by China Miéville (1972 - ). Wild Seed, written by Octavia E. Butler (1947 - 2006)."
Comparing with the result in the article:
(books->string [little-schemer, cities, wild-seed])
;=> "3 books. The Little Schemer, written by Daniel Friedman (1944 - ), Matthias Felleisen. The City and the City, written by China Miéville (1972 - ). Wild Seed, written by Octavia E. Butler (1947 - 2006)."
The text was updated successfully, but these errors were encountered: