From a1d78229f5d02904252cf6e34443d8bff07fff96 Mon Sep 17 00:00:00 2001
From: Simon Ho <simon@strongloop.com>
Date: Wed, 29 Jul 2015 09:46:51 -0700
Subject: [PATCH] Clean up regexop tests

---
 test/mysql.test.js | 9 ++++++---
 1 file changed, 6 insertions(+), 3 deletions(-)

diff --git a/test/mysql.test.js b/test/mysql.test.js
index 40757cc..bd52116 100644
--- a/test/mysql.test.js
+++ b/test/mysql.test.js
@@ -653,7 +653,8 @@ describe('mysql', function () {
         });
         it('should print a warning when the ignore flag is set',
             function(done) {
-          Post.find({where: {content: {regexp: new RegExp(/^a/i)}}}, function(err, posts) {
+          Post.find({where: {content: {regexp: new RegExp(/^a/i)}}},
+              function(err, posts) {
             console.warn.calledOnce.should.be.ok;
             done();
           });
@@ -661,7 +662,8 @@ describe('mysql', function () {
 
         it('should print a warning when the global flag is set',
             function(done) {
-          Post.find({where: {content: {regexp: new RegExp(/^a/g)}}}, function(err, posts) {
+          Post.find({where: {content: {regexp: new RegExp(/^a/g)}}},
+              function(err, posts) {
             console.warn.calledOnce.should.be.ok;
             done();
           });
@@ -669,7 +671,8 @@ describe('mysql', function () {
 
         it('should print a warning when the multiline flag is set',
             function(done) {
-          Post.find({where: {content: {regexp: new RegExp(/^a/m)}}}, function(err, posts) {
+          Post.find({where: {content: {regexp: new RegExp(/^a/m)}}},
+              function(err, posts) {
             console.warn.calledOnce.should.be.ok;
             done();
           });