Preserve significant whitespace in test names. #301

Closed
wants to merge 1 commit into
from

Conversation

Projects
None yet
2 participants

johan commented Nov 25, 2012

This is important when your test suite doubles as documentation.

Example post-change output:

on.dom plugins:
  on( { dom: "my_plugin", ready: ready = (x) -> }
    , { dom: "my_plugin": -> document.body }
    ) => ready(document.body)
  on.dom(["my_plugin", "xpath ."]) => body
  on.dom(["my_plugin", "xpath .."]) => html
  on.dom("xpath .") => document

(example borrowed from http://git.io/on.js)

@johan johan Preserve significant whitespace in test names.
This is important when your test suite doubles as documentation.

Example post-change output:

on.dom plugins:
  on( { dom: "my_plugin", ready: ready = (x) -> }
    , { dom: "my_plugin": -> document.body }
    ) => ready(document.body)
  on.dom(["my_plugin", "xpath ."]) => body
  on.dom(["my_plugin", "xpath .."]) => html
  on.dom("xpath .") => document
c3d50cf
Contributor

infews commented Mar 6, 2013

Closing. This was fixed with #296

infews closed this Mar 6, 2013

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment