marick/Midje

win10 powershell China the result will be unintelligible text

Opened this issue · 3 comments

(ns feng.fengtest
    (:require [midje.sweet :refer :all])
)
(fact "one乱码s?>" :one 
      :feng => :fen
      (+ 3 2) => 321
      )
Loading (feng.fengtest)

FAIL one乱码s?> at (fengtest.clj:5)
Expected:
�[1;33m:fen�[0m
Actual:
�[1;33m:feng�[0m

FAIL one乱码s?> at (fengtest.clj:6)
Expected:
�[36m321�[0m
Actual:
�[36m5�[0m
nil
FAILURE: 2 checks failed.
[Completed at 12:07:04]

Oddly enough, there is only a judgement. Expected and Actual

in idea cursive , all ok

Hello, have you tried turning of colored results? According to https://github.com/marick/Midje/wiki/Colorizing#setting-color-via-environment-variable windows can have issues displaying results in color

set MIDJE_COLORIZE three of them
The same is random code. It doesn't work.