Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- object Greeting {
- def english = "Hi"
- def espanol = "Hola"
- }
- val x = Greeting
- val y = x
- x eq y should be(xxx) //Reminder: eq checks for reference
- val z = Greeting
- x eq z should be(xxx)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement