Guest User

Untitled

a guest
Jan 10th, 2019
153
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.43 KB | None | 0 0
  1. * def response1 = {name: 'hello', config:[{username: 'qwe', password: 'tyu'},{username: 'abc', password: 'xyz'}]}
  2. * def response2 = {name: 'hello', config:[{username: 'abc', password: 'xyz'},{username: 'qwe', password: 'tyu'}]}
  3.  
  4. * def config = [{username: 'qwe', password: 'tyu'},{username: 'abc', password: 'xyz'}]
  5. * match response1 == { name: 'hello', config: '#(config)' }
  6. * match response2 == { name: 'hello', config: '#(^^config)' }
Add Comment
Please, Sign In to add comment