diff options
author | Casey Dahlin <cdahlin@redhat.com> | 2008-10-09 14:22:49 -0400 |
---|---|---|
committer | Casey Dahlin <cdahlin@redhat.com> | 2008-10-09 14:22:49 -0400 |
commit | 50415bdba2b379a9b320f05456cb0b4c9c363cef (patch) | |
tree | ef1143a46523bfb4afcd21ba5ff32ca2d82ca093 /state.rb | |
parent | 3c1888a4ca9fc64063553ccb5fbf0951a8ae8c32 (diff) | |
download | upstate-50415bdba2b379a9b320f05456cb0b4c9c363cef.tar.gz upstate-50415bdba2b379a9b320f05456cb0b4c9c363cef.tar.xz upstate-50415bdba2b379a9b320f05456cb0b4c9c363cef.zip |
Better event matching
Event matching should now be deterministic
Diffstat (limited to 'state.rb')
-rw-r--r-- | state.rb | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -479,7 +479,7 @@ class Event # Two Events are equal if their params are equal and their name is the same def ==(other) other.is_a? Event and \ - @params == other.params and \ + @params.sort.hash == other.params.sort.hash and \ @name == other.name end |