svoid test_autoLoadJQuery() { S html = hjs("$('bla').bla();"); assertFalse(jqueryLoaded(html)); assertTrue(html, neq(autoLoadJQuery(html), html)); html = hjs("document.bla();"); assertEqualsVerbose(html, autoLoadJQuery(html)); html = hbutton("bla", onclick := "$(this).hide();"); assertTrue(html, neq(autoLoadJQuery(html), html)); }