Index: test/webkit/regexp-character-match-out-of-order.js |
diff --git a/test/webkit/resources/standalone-post.js b/test/webkit/regexp-character-match-out-of-order.js |
similarity index 90% |
copy from test/webkit/resources/standalone-post.js |
copy to test/webkit/regexp-character-match-out-of-order.js |
index d157e78bfa084329e2ec1a9b7d6ad456e904c152..1b16550790978e01084e2dae5912596aad754593 100644 |
--- a/test/webkit/resources/standalone-post.js |
+++ b/test/webkit/regexp-character-match-out-of-order.js |
@@ -21,6 +21,6 @@ |
// (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('Test to ensure RegExp generates single character matches in the correct order'); |
-finishJSTest(); |
+shouldBe("/[\\w']+/.exec(\"'_'\").toString()", "\"'_'\""); |