SHARE
TWEET

Untitled

a guest Sep 7th, 2019 97 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. object Greeting {
  2.   def english = "Hi"
  3.  
  4.   def espanol = "Hola"
  5. }
  6.  
  7. val x = Greeting
  8. val y = x
  9.  
  10. x eq y should be(xxx) //Reminder: eq checks for reference
  11.  
  12. val z = Greeting
  13.  
  14. x eq z should be(xxx)
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top