Created
September 5, 2010 13:44
-
-
Save jarmo/566031 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function testGetVisibleTextShouldNotRemoveIntentedSpaces() { | |
var text = getVisibleTextByElementId("shakespeare"); | |
assertEquals("To be, or not to be: that is the question.", text); | |
} | |
<span><strong id="shakespeare">To be, or not to be: that is the question.</strong></span> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment