Index: test/webkit/multiline-comment-newline.js |
diff --git a/test/webkit/resources/standalone-post.js b/test/webkit/multiline-comment-newline.js |
similarity index 86% |
copy from test/webkit/resources/standalone-post.js |
copy to test/webkit/multiline-comment-newline.js |
index d157e78bfa084329e2ec1a9b7d6ad456e904c152..8bad7337a3171fbcc152582ccb8a7b1b842958d6 100644 |
--- a/test/webkit/resources/standalone-post.js |
+++ b/test/webkit/multiline-comment-newline.js |
@@ -21,6 +21,13 @@ |
// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS |
// SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
-wasPostTestScriptParsed = true; |
+description( |
+"This test checks that a multiline comment containing a newline is converted to a line terminator token." |
+); |
-finishJSTest(); |
+var shouldBeUndefined = (function(){ |
+ return/* |
+ */1 |
+})(); |
+ |
+shouldBe('shouldBeUndefined', 'undefined'); |