w3c/testharness.js — pull request #2 by Velmont (2012-06-20 15:57:04+00:00)
Title: Escape literaly placed backslashes

Given this code:

test(function() {
assert_equals("\n", "\\n");
});

Before:

assert_equals: expected "\n" but got "\n"

After:

assert_equals: expected "\\n" but got "\n"