Fixed test HGStXTests>>#test_misc_hgRevision_01
authorJan Vrany <jan.vrany@fit.cvut.cz>
Thu, 16 May 2013 13:20:48 +0100
changeset 287 c3e542755abd
parent 286 4914c40a1a67
child 288 577f8935661d
Fixed test HGStXTests>>#test_misc_hgRevision_01 Compare changeset IDs instead of their string - this make the test independent on local revnos which may not be always available (for performnce reasons)
mercurial/HGStXTests.st
--- a/mercurial/HGStXTests.st	Wed May 01 15:13:48 2013 +0100
+++ b/mercurial/HGStXTests.st	Thu May 16 13:20:48 2013 +0100
@@ -1452,10 +1452,10 @@
     Smalltalk loadPackage:'mocks:hg/p1'.
     self dumpRepositoryLog: repo.
 
-    self assert: (Smalltalk at:#'mocks_hg_p1') hgLogicalRevision asString = '1:e0bec585af86'.
+    self assert: (Smalltalk at:#'mocks_hg_p1') hgLogicalRevision  = (HGChangesetId fromString: '1:e0bec585af86').
 
     "Created: / 23-11-2012 / 11:00:21 / Jan Vrany <jan.vrany@fit.cvut.cz>"
-    "Modified: / 30-11-2012 / 23:44:33 / Jan Vrany <jan.vrany@fit.cvut.cz>"
+    "Modified: / 16-05-2013 / 13:18:38 / Jan Vrany <jan.vrany@fit.cvut.cz>"
 !
 
 test_misc_packagemodel_01