At a glance: should have examples not updated?

7 views
Skip to first unread message

lachla...@gmail.com

unread,
Feb 15, 2022, 4:28:30 PM2/15/22
to scalatest-users
Hi all,

The "At a glance" has examples like this:

```
val book = Book("A Book", "Sally")
book should have (
  title ("A Book"),
  author ("Sally")
)
```

The documentation points to 404s, however, on how to setup the correct imports for this to work.


Where might some up to date examples be found for the latest release?

cheers,
Lachlan

lachla...@gmail.com

unread,
Feb 15, 2022, 4:44:18 PM2/15/22
to scalatest-users
Okay so some sample code in the scalatest repo shows how this now works.

Reply all
Reply to author
Forward
0 new messages