Test runner reports failing tests as passed if actual or expected contains ansi color codes #2973
Labels
bug
Marks issues describing bugs
released-eap
Marks issues which have had the fixes released in an EAP build
Milestone
Problem Statement
Using the test runner, a test that has failed is reported as passing if the actual or expected values are strings with ansi color codes in them.
Repro
I have this namespace in a scratch project using deps.edn:
Executing these tests using
run-tests
reports that all 4 tests fail (as they should). Executing these tests using the test runner (i.e. by clicking the gutter icon to run tests in the NS) indicates that the tests involving color in the strings passed.The console output appears to somewhat indicate that the tests failed:
... but perhaps that data structure isn't being read/interpreted correctly.
Context
IntelliJ version
IntelliJ IDEA 2024.2.2 (Ultimate Edition)
Build #IU-242.22855.74, built on September 18, 2024
Cursive Version
1.14.0-eap1-2024.2
The text was updated successfully, but these errors were encountered: