test: use proper findjsobjects output format
authorDave Pacheco <dap@joyent.com>
Thu, 10 Oct 2013 16:41:59 +0000 (09:41 -0700)
committerTimothy J Fontaine <tjfontaine@gmail.com>
Thu, 10 Oct 2013 22:45:25 +0000 (15:45 -0700)
Closes #6329

test/pummel/test-postmortem-findjsobjects.js

index 568e2ff..292b060 100644 (file)
@@ -67,7 +67,7 @@ gcore.on('exit', function (code) {
     }
 
     var lines = output.split('\n');
-    var found = 0, i, expected = 'OBEY: ' + obj.OBEY, nexpected = 2;
+    var found = 0, i, expected = 'OBEY: "' + obj.OBEY + '"', nexpected = 2;
 
     for (var i = 0; i < lines.length; i++) {
       if (lines[i].indexOf(expected) != -1)