Skip to content
This repository
Browse code

Support reverse

  • Loading branch information...
commit 06793ab4f8ec1b3a0862d0b4d41a891173c29cbd 1 parent e71f1f4
Joseph Wilk josephwilk authored
2  src/midje/emission/colorize.clj
@@ -25,7 +25,7 @@
25 25 (def pass color/green)
26 26 (def note color/cyan))
27 27
28   - "REVERSE" (do
  28 + ("REVERSE" ":REVERSE") (do
29 29 (def fail color/red-bg)
30 30 (def pass color/green-bg)
31 31 (def note color/cyan-bg))
1  test/midje/emission/t_colorize.clj
@@ -28,6 +28,7 @@
28 28 color/fail "FALSE" true false "string"
29 29 color/fail nil false false "string"
30 30 color/fail "TRUE" false false "\u001b[31mstring\u001b[0m"
  31 + color/fail nil :reverse false "\u001b[41mstring\u001b[0m"
31 32
32 33 color/note "FALSE" nil false "string"
33 34 color/note "TRUE" nil false "\u001b[36mstring\u001b[0m"

0 comments on commit 06793ab

Please sign in to comment.
Something went wrong with that request. Please try again.