You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
ut::diff_onerror(that % mystring == otherstring) could display a diff of mystring vs otherstring
Actual Behavior
that % mystring == otherstring will print some hard to read text when dealing with multiline strings:
Running test "output a correctly formatted code for calls"... FAILED
in: /Users/fola/Documents/ArkScript/Ark/lib/ut/include/boost/ut.hpp:2961 - test condition: [(let newlist (list:filter _listeners (fun (element) (!= typ (@ element 0)))))
# a badly aligned method below
# this comment bloc is also a test
(list:forEach
_listeners
(fun (element)
(if (= typ (@ element 0)) {
((@ element 1) val)
(set found true) })))
== (let newlist (list:filter _listeners (fun (element) (!= typ (@ element 0)))))
# a badly aligned method below
# this comment bloc is also a test
(list:forEach
_listeners
(fun (element)
(if (= typ (@ element 0)) {
((@ element 1) val)
(set found true) })))
]
Here there is a new line that shouldn't be there in the second sample, which is quite hard to spot
Steps to Reproduce the Problem
create a test with boost::ut
compare two (different) strings
Specifications
Version: 2.0.1
Platform: macos
Subsystem:
The text was updated successfully, but these errors were encountered:
Expected Behavior
ut::diff_onerror(that % mystring == otherstring)
could display a diff of mystring vs otherstringActual Behavior
that % mystring == otherstring
will print some hard to read text when dealing with multiline strings:Here there is a new line that shouldn't be there in the second sample, which is quite hard to spot
Steps to Reproduce the Problem
Specifications
The text was updated successfully, but these errors were encountered: