After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 582704 - Don't depend on hash table order in test cases
Don't depend on hash table order in test cases
Status: RESOLVED FIXED
Product: gjs
Classification: Bindings
Component: general
unspecified
Other All
: Normal normal
: ---
Assigned To: gjs-maint
gjs-maint
Depends on:
Blocks:
 
 
Reported: 2009-05-15 03:37 UTC by Owen Taylor
Modified: 2009-05-15 15:45 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Don't depend on hash table order in test cases (2.53 KB, patch)
2009-05-15 03:37 UTC, Owen Taylor
accepted-commit_now Details | Review

Description Owen Taylor 2009-05-15 03:37:07 UTC
Using object.toSource() and comparing that to a string is not
reliable; instead provide our own function to convert an object
to a reliably ordered string.
Comment 1 Owen Taylor 2009-05-15 03:37:10 UTC
Created attachment 134679 [details] [review]
Don't depend on hash table order in test cases
Comment 2 Owen Taylor 2009-05-15 15:45:48 UTC
Pushed.