Skip to content

Argument order flipped in result string, giving confusing output #68

@phmarek

Description

@phmarek

(reformatted) example:

(fiveam:def-test foo ()
  (fiveam:is (<= 1.5 0.9)))

;  Failure Details:
;  --------------------------------
;  FOO []: 
;    0.9 evaluated to 0.9 which is not <= to 1.5

The text output 0.9 which is not <= to 1.5 doesn't match the test in IS.
Perhaps there should be a special case for such comparisons with two operands?

With three arguments it's not a problem:

  (fiveam:is (<= 1.1 1.5 0.9))

;  Failure Details:
;  --------------------------------
;  FOO []: 
;       
; (<= 1.1 1.5 0.9)
; 
;  was NIL..
;  --------------------------------

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions