pharo-contributions / XML-XMLParser

XML Parser for Pharo
MIT License
11 stars 17 forks source link

Check Float equality comparision lint issue in XMLDocumentTest>>#testVersion #21

Closed astares closed 1 year ago

astares commented 1 year ago

Code

testVersion
    | document |

    document := self newNode.
    self
        assert: document version isNil;
        assert: (document version: 1.0) == document;
        assert: document version = 1.0

image

but it is not a potential bug