var path = require('path');
var getFile = require('../../get-file');
var run = require('../../run-solution');

exports.problem = getFile(path.join(__dirname, 'problem.md'));

exports.solution = getFile(path.join(__dirname, 'solution.md'));

exports.verify = function (args, cb) {
  run(args[0], function (err, result) {
    var expected = "[ 'tomato sauce', 'cheese', 'pepperoni' ]\n";
    if (result.replace('"', "'") === expected) cb(true);
    else cb(false);
  });
};
var path = require('path');
var getFile = require('../../get-file');
var run = require('../../run-solution');

exports.problem = getFile(path.join(__dirname, 'problem.md'));

exports.solution = getFile(path.join(__dirname, 'solution.md'));

exports.verify = function (args, cb) {
  run(args[0], function (err, result) {
    var expected = "[ 'tomato sauce', 'cheese', 'pepperoni' ]\n";
    if (result && result.replace('"', "'") === expected) cb(true);
    else cb(false);
  });
};
Fix arrays verify step: do not fail if empty string or boolean passed in
Fix arrays verify step: do not fail if empty string or boolean passed in
