diff --git a/test/annexB/built-ins/Function/createdynfn-html-close-comment-body.js b/test/annexB/built-ins/Function/createdynfn-html-close-comment-body.js index e3dbd7f257..6c73e195ce 100644 --- a/test/annexB/built-ins/Function/createdynfn-html-close-comment-body.js +++ b/test/annexB/built-ins/Function/createdynfn-html-close-comment-body.js @@ -17,4 +17,4 @@ info: | ... ---*/ -Function("-->"); +Function("\n-->"); diff --git a/test/annexB/built-ins/Function/createdynfn-html-close-comment-params.js b/test/annexB/built-ins/Function/createdynfn-html-close-comment-params.js index 51e12a2cf5..8100e7dd28 100644 --- a/test/annexB/built-ins/Function/createdynfn-html-close-comment-params.js +++ b/test/annexB/built-ins/Function/createdynfn-html-close-comment-params.js @@ -18,4 +18,4 @@ info: | ... ---*/ -Function("-->", ""); +Function("\n-->", "");